Annotation Type Value


public @interface Value
This annotation provides namespace for annotations for immutable value object generation. Use one of the nested annotation.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Annotate attribute as auxiliary and it will be stored and will be accessible, but will be excluded from generated equals, hashCode and toString methods.
    static @interface 
    Annotates method that should be invoked internally to validate invariants after instance had been created, but before returned to a client.
    static @interface 
    Annotates accessor that should be turned in set-able generated attribute.
    static @interface 
    This kind of attribute cannot be set during building, but they are eagerly computed from other attributes and stored in field.
    static @interface 
    This annotation could be applied to top level class which contains nested abstract value types to provide namespacing for the generated implementation classes.
    static @interface 
    Instruct processor to generate immutable implementation of abstract value type.
    static @interface 
    Includes specified abstract value types into generation of processing.
    static @interface 
    Lazy attributes cannot be set, defined as method that computes value, which is invoke lazily once and only once in a thread safe manner.
    static @interface 
    Generate modifiable implementation of abstract value class.
    static @interface 
    Specified natural ordering for the implemented SortedSet, NavigableSet or SortedMap, NavigableMap.
    static @interface 
    Can be used to mark some abstract no-argument methods in supertypes (about to be implemented/extended by abstract value types) as regular, non-attribute methods, i.e.
    static @interface 
    Works with Value.Immutable classes to mark abstract accessor method be included as "of(..)" constructor parameter.
    static @interface 
    Marks attribute for exclusion from auto-generated toString method.
    static @interface 
    Specified reversed natural ordering for the implemented SortedSet, NavigableSet or SortedMap, NavigableMap.
    static @interface 
    Naming and structural style could be used to customize convention of the generated immutable implementations and companion classes.