Annotation Type StackCallParam
@Documented
@Retention(RUNTIME)
@Target(PARAMETER)
@DigesterRule(reflectsRule=CallParamRule.class,
providedBy=StackCallParamRuleProvider.class)
public @interface StackCallParam
Methods arguments annotated with
StackCallParam will be bound
with CallParamRule digester rule.- Since:
- 2.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines severalStackCallParamannotations on the same element. -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintThe call parameter to the stackIndex'th object down the stack, where 0 is the top of the stack, 1 the next element down and so on.
-
Element Details
-
pattern
-
stackIndex
int stackIndexThe call parameter to the stackIndex'th object down the stack, where 0 is the top of the stack, 1 the next element down and so on.- Returns:
- the stackIndex'th object down the stack.
- Default:
0
-