Annotation Type WithHiddenImplementation


  • @Documented
    @Target(TYPE)
    public @interface WithHiddenImplementation
    Forces Immutables 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 the Immutables API. It forces the actual immutable implementation to be private and the corresponding builder to be package-private.