Package groovy.transform

# Annotation Type PropertyOptions

@Documented @Retention(SOURCE) @Target(TYPE) public @interface PropertyOptions
Marker annotation used to indicate that special property handling code will be generated for this class.

Since:
  2.5.0
See Also:
  - `Immutable`
  - `ImmutableBase`
  - `MapConstructor`
  - `TupleConstructor`

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `Class<? extends PropertyHandler>`
  `propertyHandler`
  The property handler class which creates the necessary code for getting, setting or initializing properties.

- ## Element Details

  - ### propertyHandler

    Class<? extends PropertyHandler> propertyHandler
    The property handler class which creates the necessary code for getting, setting or initializing properties.
    Default:
      groovy.transform.options.DefaultPropertyHandler.class