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