Module uk.autores
Package uk.autores

Annotation Type 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;
     
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean isPublic
      Generated code visibility.
      Processing processing
      Common processing instructions.
      String[] value
      Resource files.
    • Element Detail

      • 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)
      • isPublic

        boolean isPublic
        Generated code visibility.
        Returns:
        visibility
        Default:
        false