Annotation Interface ElementName


@Retention(RUNTIME) @Target(FIELD) public @interface ElementName
Annotation indicating the name of an element.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name by which the annotated field can be identified.
  • Element Details

    • value

      @Nonnull String value
      The name by which the annotated field can be identified.
      Returns:
      The identifiable name of the field.