This package contains the annotations and support classes you need as a user of lombok, for all features which aren't (yet) supported as a first class feature. Features that involve the annotations and support classes in this package may change or may be removed entirely in future versions, and bugs may not be solved as expediently. For the status and likely future of any feature, refer to the official feature documentation.
Annotation Types Summary Annotation Type Description AccessorsA container for settings for the generation of getters and setters. DelegatePut on any field to make lombok generate delegate methods that forward the call to this field. ExtensionMethodExtension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. FieldDefaultsAdds modifiers to each field in the type with this annotation. FieldNameConstantsGenerates an inner type, containing String constants containing the field name for each field. FieldNameConstants.ExcludeIf present, do not include this field in the generated fieldnames inner type. FieldNameConstants.IncludeIf present, include this field in the generated fieldnames inner type (default). HelperUse on a method local class to indicate that all methods inside should be exposed to the rest of the method as if they were helper methods. NonFinalUsed to indicate the explicit intention for the annotated entity to not be
PackagePrivateUsed to indicate the explicit intention for the annotated entity to have the package private access level. SuperBuilderThe SuperBuilder annotation creates a so-called 'builder' aspect to the class that is annotated with
@SuperBuilder, but which works well when extending.
ToleratePut on any method or constructor to make lombok pretend it doesn't exist, i.e., to generate a method which would otherwise be skipped due to possible conflicts. UtilityClassAn annotation to create utility classes. var Deprecated.
varhas been promoted to the main package; use
Withhas been promoted to the main package, so use that one instead.
Wither.AnyAnnotation Deprecated.Don't use this annotation, ever - Read the documentation.