Annotation Interface CodeStyle
Indicates the exposed code style.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionWhen exposing this module to the other language this will specify the case conversion to apply when generating the method parameter bindings.When exposing this module to the other language this will specify the case conversion to apply when generating the method bindings.Indicates the method name prefix.When exposing this module to the other language this will specify the case conversion to apply when generating the method parameter bindings.Used for converting the case format for properties.Used for converting the case format for types. -
Field Summary
Fields
-
Field Details
-
JVM_NATIVE
Implementation ofCodeStyle
which represents the JVM native code style.
-
-
Element Details
-
methodCaseFormat
CaseFormat methodCaseFormatWhen exposing this module to the other language this will specify the case conversion to apply when generating the method bindings. By default this isCaseFormat.LOWER_UNDERSCORE
- Returns:
- the
CaseFormat
to use in conversion
- Default:
LOWER_UNDERSCORE
-
parameterCaseFormat
CaseFormat parameterCaseFormatWhen exposing this module to the other language this will specify the case conversion to apply when generating the method parameter bindings. By default this isCaseFormat.LOWER_UNDERSCORE
- Returns:
- the
CaseFormat
to use in conversion
- Default:
LOWER_UNDERSCORE
-
constantCaseFormat
CaseFormat constantCaseFormatWhen exposing this module to the other language this will specify the case conversion to apply when generating the method parameter bindings. By default this isCaseFormat.LOWER_UNDERSCORE
- Returns:
- the
CaseFormat
to use in conversion
- Default:
UPPER_UNDERSCORE
-
typeCaseFormat
CaseFormat typeCaseFormatUsed for converting the case format for types.- Returns:
- the type case format
- Default:
NATURAL
-
propertyCaseFormat
CaseFormat propertyCaseFormatUsed for converting the case format for properties.- Returns:
- the property case format
- Default:
NATURAL
-
methodPrefix
String methodPrefixIndicates the method name prefix.- Default:
""
-