|
Lombok - v0.10.6 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
Lombok | Useful utility methods to manipulate lombok-generated code. |
Enum Summary | |
---|---|
AccessLevel | Represents an AccessLevel. |
Annotation Types Summary | |
---|---|
AllArgsConstructor | Generates an all-args constructor. |
Cleanup | Ensures the variable declaration that you annotate will be cleaned up by calling its close method, regardless of what happens. |
Data | Generates getters for all fields, a useful toString method, and hashCode and equals implementations that check all non-transient fields. |
Delegate | Put on any field to make lombok generate delegate methods that forward the call to this field. |
EqualsAndHashCode | Generates implementations for the equals and hashCode methods inherited by all objects. |
Getter | Put on any field to make lombok build a standard getter. |
NoArgsConstructor | Generates a no-args constructor. |
NonNull | Lombok is smart enough to translate any annotation named @NonNull in any casing and
with any package name to the return type of generated getters and the parameter of generated setters and constructors,
as well as generate the appropriate null checks in the setter and constructor. |
RequiredArgsConstructor | Generates a constructor with required arguments. |
Setter | Put on any field to make lombok build a standard setter. |
SneakyThrows | @SneakyThrow will avoid javac's insistence that you either catch or throw onward any checked exceptions that statements in your method body declare they generate. |
Synchronized | Almost exactly like putting the 'synchronized' keyword on a method, except will synchronize on a private internal Object, so that other code not under your control doesn't meddle with your thread management by locking on your own instance. |
ToString | Generates an implementation for the toString method inherited by all objects. |
val | Use val as the type of any local variable declaration (even in a for-each statement), and the type will be inferred from the initializing expression. |
This package contains all the annotations and support classes you need as a user of lombok. All other packages are only relevant to those who are extending lombok for their own uses.
|
Lombok - v0.10.6 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |