|
Lombok - v0.11.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={TYPE,FIELD})
@Retention(value=SOURCE)
public @interface Accessors
A container for settings for the generation of getters and setters.
Using this annotation does nothing by itself; an annotation that makes lombok generate getters and setters,
such as Setter or Data is also required.
| Optional Element Summary | |
|---|---|
boolean |
chain
If true, setters return this instead of void. |
boolean |
fluent
If true, accessors will be named after the field and not include a get or set
prefix. |
String[] |
prefix
If present, only fields with any of the stated prefixes are given the getter/setter treatment. |
public abstract boolean fluent
get or set
prefix. If true and chain is omitted, chain defaults to true.
default: false
public abstract boolean chain
this instead of void.
default: false, unless fluent=true, then default: true
public abstract String[] prefix
|
Lombok - v0.11.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||