Annotation Type CurioStyle

  • @Target(TYPE)
    public @interface CurioStyle
    Value.Style which applies curio conventions to Value.Immutable objects. It is recommended that all Value.Immutable types use this style.

    Default methods in interfaces will be recognized and all implementation will be package-private. The Value.Immutable must expose a subclass of the generated builder, e.g.,

     {@literal @}CurioStyle
     {@literal @}Immutable
     public interface MyObject {
       class Builder extends ImmutableMyObject.Builder {}
       String foo();
       boolean bar();