Annotation Type WithHiddenImplementation
-
@Documented @Target(TYPE) public @interface WithHiddenImplementation
ForcesImmutables
to restrict the visibility of auto-generated DTO implementations in order to "hide" them.
This is a composed annotation providing some commonly used preconfiguration for DTO's with regards to theImmutables
API. It forces the actual immutable implementation to be private and the corresponding builder to be package-private.