|
Lombok - v0.11.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=TYPE) @Retention(value=SOURCE) public @interface FieldDefaults
Adds modifiers to each field in the type with this annotation.
If makeFinal is true, then each field that is not annotated with @NonFinal will have the final modifier added.
If level is set, then each field that is package private (i.e. no access modifier) and does not have the @PackagePrivate annotation will
have the appropriate access level modifier added.
The only fields that are skipped are those that start with a '$'; everything else, including static, volatile, and transient fields, are modified.
| Optional Element Summary | |
|---|---|
AccessLevel |
level
|
boolean |
makeFinal
|
public abstract AccessLevel level
public abstract boolean makeFinal
|
Lombok - v0.11.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||