Annotation Type Named


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface Named
    Names a constructor parameter for Pkl-to-Java object mapping. Alternatively, the javax.inject.Named annotation can be used, or parameter names can be retained by setting the Java 8+ compiler option -parameters.
    • Required Element Summary

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

      • value

        java.lang.String value