Package lombok.experimental


package lombok.experimental
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.
See Also:
  • Annotation Types
    Class
    Description
    A container for settings for the generation of getters, setters and "with"-ers.
    Put on any field to make lombok generate delegate methods that forward the call to this field.
    Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.
    Adds modifiers to each field in the type with this annotation.
    Generates an inner type, containing String constants containing the field name for each field.
    If present, do not include this field in the generated fieldnames inner type.
    If present, include this field in the generated fieldnames inner type (default).
    Use 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.
    Used to indicate the explicit intention for the annotated entity to not be final.
    Used to indicate the explicit intention for the annotated entity to have the package private access level.
    Put on any class that extends some java.lang.Throwable type to add the 4 common exception constructors.
    The SuperBuilder annotation creates a so-called 'builder' aspect to the class that is annotated with @SuperBuilder, but which works well when extending.
    Put 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.
    An annotation to create utility classes.
    Deprecated.
    var has been promoted to the main package; use var instead.
    Put on any field to make lombok build a 'withBy' - a withFieldNameBy method which produces a clone of this object (except for 1 field which gets a new value).
    Deprecated.
    Don't use this annotation, ever - Read the documentation.
    Deprecated.
    With has been promoted to the main package, so use that one instead.
    Deprecated.
    Don't use this annotation, ever - Read the documentation.