public final class ObjectCreateRuleProvider extends java.lang.Object implements AnnotationRuleProvider<ObjectCreate,java.lang.Class<?>,ObjectCreateRule>
ObjectCreateRule.| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
clazz |
| Constructor and Description |
|---|
ObjectCreateRuleProvider() |
| Modifier and Type | Method and Description |
|---|---|
ObjectCreateRule |
get()
Provides an instance of
Rule. |
void |
init(ObjectCreate annotation,
java.lang.Class<?> element)
Initializes the provider.
|
public void init(ObjectCreate annotation, java.lang.Class<?> element)
init in interface AnnotationRuleProvider<ObjectCreate,java.lang.Class<?>,ObjectCreateRule>annotation - the annotation instance.element - the annotated element reference.public ObjectCreateRule get()
Rule.
Must never return null.get in interface AnnotationRuleProvider<ObjectCreate,java.lang.Class<?>,ObjectCreateRule>Rule.