Module de.codecamp.messages.shared
Interface MessageFormatSupport
- All Known Implementing Classes:
DefaultMessageFormatSupport,IcuMessageFormatSupport
public interface MessageFormatSupport
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interface -
Method Summary
Modifier and TypeMethodDescriptioncheckMessage(String message, String[] argTypes, String[] argNames, MessageFormatSupport.TypeChecker argTypeChecker) default StringformatArgType(String argType) Formats the given Java-type of a message argument to something less technical where possible.static MessageFormatSupportgetSupport(ProjectConf projectConf) booleanbooleansupportsFormat(String otherMessageFormat)
-
Method Details
-
supportsFormat
-
hasArgNameSupport
boolean hasArgNameSupport() -
formatArgType
Formats the given Java-type of a message argument to something less technical where possible.- Parameters:
argType- the Java-type of the message argument- Returns:
- the formatted message argument type
-
getArgInsertOptions
-
createMessageBundleComment
-