[Java] Annotation Type PropertyOptions
- groovy.transform.PropertyOptions
@Documented @Retention(RetentionPolicy.SOURCE) @Target({ElementType.TYPE}) public @interface PropertyOptions
Marker annotation used to indicate that special property handling code will be generated for this class.
- See Also:
- Immutable
- ImmutableBase
- MapConstructor
- TupleConstructor
- Since:
- 2.5.0
Element Summary
Type | Name and Description |
---|---|
Class<? extends PropertyHandler> |
propertyHandler The property handler class which creates the necessary code for getting, setting or initializing properties. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Element Detail
public Class<? extends PropertyHandler> propertyHandler
The property handler class which creates the necessary code for getting, setting or initializing properties.
- Default:
- DefaultPropertyHandler.class
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/transform/PropertyOptions.html