Annotation Interface Name


Annotation that can be used to specify the name when binding to a property. This annotation may be required when binding to names that clash with reserved language keywords.

When naming a JavaBean-based property, annotate the field. When naming a constructor-bound property, annotate the constructor parameter or record component.

Since:
2.4.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the property to use for binding.
  • Element Details

    • value

      String value
      The name of the property to use for binding.
      Returns:
      the property name