public final class CallParamRuleProvider extends java.lang.Object implements AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>
CallParamRule
.CallParamRule(int)
Modifier and Type | Field and Description |
---|---|
private int |
index |
Constructor and Description |
---|
CallParamRuleProvider() |
Modifier and Type | Method and Description |
---|---|
CallParamRule |
get()
Provides an instance of
Rule . |
void |
init(CallParam annotation,
MethodArgument element)
Initializes the provider.
|
public void init(CallParam annotation, MethodArgument element)
init
in interface AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>
annotation
- the annotation instance.element
- the annotated element reference.public CallParamRule get()
Rule
.
Must never return null.get
in interface AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>
Rule
.