public final class ObjectCreateRuleProvider extends Object implements AnnotationRuleProvider<ObjectCreate,Class<?>,ObjectCreateRule>
ObjectCreateRule
.Constructor and Description |
---|
ObjectCreateRuleProvider() |
Modifier and Type | Method and Description |
---|---|
ObjectCreateRule |
get()
Provides an instance of
Rule . |
void |
init(ObjectCreate annotation,
Class<?> element)
Initializes the provider.
|
public void init(ObjectCreate annotation, Class<?> element)
init
in interface AnnotationRuleProvider<ObjectCreate,Class<?>,ObjectCreateRule>
annotation
- the annotation instance.element
- the annotated element reference.public ObjectCreateRule get()
Rule
.
Must never return null.get
in interface AnnotationRuleProvider<ObjectCreate,Class<?>,ObjectCreateRule>
Rule
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.