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.

Author

Phillip Webb

Lasse Wulff

Since

2.4.0

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun value(): String
The name of the property to use for binding.