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