Annotation Interface RuntimeType.PrototypedBy

Enclosing class:

@Target(TYPE) @Retention(CLASS) public static @interface RuntimeType.PrototypedBy
Mark this runtime type as prototyped by a specific prototype. The prototype is generated through Prototype.Blueprint definition.

This is complementing RuntimeType interface. We need to have both the annotation and implement the interface, to correctly validate the object tree.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Class<? extends Prototype.Api>
    Type of the prototype.
  • Element Details

    • value

      Class<? extends Prototype.Api> value
      Type of the prototype.
      prototype class