Annotation Type PublishableProxy


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface PublishableProxy
    Marks a class as being a publishable proxy for a non-publishable type, like BooleanPublishable for Boolean. This annotation only has an affect when placed on a public, concrete, top-level class that implements Publishable.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class[] value
      The type(s) that the marked class is an publishable version of.
    • Element Detail

      • value

        java.lang.Class[] value
        The type(s) that the marked class is an publishable version of. The marked class must have a copy constructor for each type.

        These types should use boxed classes instead of primitive types (e.g. Integer.class instead of int.class).