src/main/java/net/matrix/app/message/CodedMessageDefinition.java
public static CodedMessageDefinition getDefinition(final String code) {
		Map<Locale, CodedMessageDefinition> definitions = DEFINITIONS.get(code);
		if (definitions == null) {
			return null;
		}

		CodedMessageDefinition definition = definitions.get(Locales.current());
		if (definition == null) {
			definition = definitions.get(Locale.ROOT);
		}
		return definition;
	}
public static CodedMessageDefinition getDefinition(final String code) {
		Map<Locale, CodedMessageDefinition> definitions = DEFINITIONS.get(code);
		if (definitions == null) {
			return null;
		}

		CodedMessageDefinition definition = definitions.get(Locales.current());
		if (definition == null) {
			definition = definitions.get(Locale.ROOT);
		}
		return definition;
	}
public static CodedMessageDefinition getDefinition ( final String code ) { Map < Locale , CodedMessageDefinition > definitions = DEFINITIONS . get ( code ) ; if ( definitions == null ) { return null ; } CodedMessageDefinition definition = definitions . get ( Locales . current ( ) ) ; if ( definition == null ) { definition = definitions . get ( Locale . ROOT ) ; } return definition ; }
获取编码消息定义。

@param code
编码
@return 编码消息定义
获取编码消息定义。