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