Annotated on a field
AccessorType[] argument is given, only the listed
accessors with the specified visibility will be generateddeprecationPolicyAnnotated on a class
FinalFieldsConstructor
annotation.AccessorType#NONE.
This annotation can also be used to fine-tune the getters generated by Data.
| Modifier and Type | Method and Description |
|---|---|
| public AccessorsDeprecationPolicy | |
| public AccessorType[] |
| deprecationPolicy | back to summary |
|---|---|
| public AccessorsDeprecationPolicy deprecationPolicy() Describes when
| |
| value | back to summary |
|---|---|
| public AccessorType[] value() Describes the access modifiers for generated accessors. Valid combinations
include at most one type for getters and one for setters.
Accessors may be suppressed by passing | |