Annotation Interface Prototype.CustomMethods
- Enclosing class:
Prototype
Additional methods from this type will be added to the prototype and its builder.
All methods must be declared as static.
These methods can be annotated with:
Prototype.PrototypeFactoryMethod- to create a static factory method on prototypePrototype.ConfigFactoryMethod- to create a config-based factory method for an optionPrototype.RuntimeTypeFactoryMethod- to create a runtime type from another prototypePrototype.BuilderMethod- to create an additional method on prototype builder, first parameter is the builder instance, may have additional parameters, must be voidPrototype.PrototypeMethod- to be added to the prototype interface, first parameter is the prototype instance, may have additional parameters
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueType that implements static methods to be available on the prototype.- Returns:
- type with static methods annotated with supported custom-method annotations
-