Module uk.autores
Package uk.autores

Annotation Interface Keys


@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;
 
  • Element Details

    • value

      String[] value
      Resource files.
      Returns:
      resources
      Default:
      {}
    • processing

      Processing processing
      Common processing instructions.
      Returns:
      instruction annotation
      Default:
      @uk.autores.Processing(namer=uk.autores.naming.IdiomaticNamer.class)
    • visibility

      Visibility visibility
      Generated code visibility.
      Returns:
      visibility
      Default:
      PACKAGE