Annotation Interface PklName


@Target({PACKAGE,TYPE}) @Retention(CLASS) public @interface PklName
Associates a stdlib node class with a Pkl member name or a stdlib package with a Pkl module name. Only required if the Java class/package can't have the same name as its corresponding Pkl member/module.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The simple Pkl name of the annotated element.
  • Element Details

    • value

      String value
      The simple Pkl name of the annotated element.