Annotation Type Key


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Key
    Overrides to which key in the configuration(-file) this value should be mapped. The default key is always the method name:
     interface Fuu {
         \@Key("actualKey") String thisMethodNameIsIgnored();
     }
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value