Annotation Interface 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
     
  • Element Details