@Target({PACKAGE,TYPE})
@Retention(SOURCE)
@Repeatable(uk.autores.repeat.RepeatableKeys.class)
public @interface Keys
Directive to generate key constants from Properties files.
// EXAMPLE ANNOTATION
// she-wolf=Cinco lobitos tiene la loba
@Keys("CincoLobitos.properties")
// EXAMPLE CODE
// "she-wolf"
String key = CincoLobitos.SHE_WOLF;
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionCommon processing instructions.String[]Resource files.Generated code visibility.
-
Element Details
-
value
String[] valueResource files.- Returns:
- resources
- Default:
- {}
-
processing
Processing processingCommon processing instructions.- Returns:
- instruction annotation
- Default:
- @uk.autores.Processing(namer=uk.autores.naming.IdiomaticNamer.class)
-
visibility
Visibility visibilityGenerated code visibility.- Returns:
- visibility
- Default:
- PACKAGE
-