Skip to content

Instantly share code, notes, and snippets.

@ctoestreich
Created March 16, 2020 13:48
Show Gist options
  • Save ctoestreich/714e749aa80e5a7685a446a192f34810 to your computer and use it in GitHub Desktop.
Save ctoestreich/714e749aa80e5a7685a446a192f34810 to your computer and use it in GitHub Desktop.
Value Annotation
/**
* Generates a lot of code which fits with a class that is a representation of an immutable entity.
* <p>
* Equivalent to {@code @Getter @FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE) @AllArgsConstructor @ToString @EqualsAndHashCode}.
* <p>
* Complete documentation is found at <a href="https://projectlombok.org/features/Value">the project lombok features page for &#64;Value</a>.
*
* @see lombok.Getter
* @see lombok.experimental.FieldDefaults
* @see lombok.AllArgsConstructor
* @see lombok.ToString
* @see lombok.EqualsAndHashCode
* @see lombok.Data
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment