Annotation Interface 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 @interface
Defines severalStackCallParam
annotations on the same element. -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
The 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
String patternThe element matching pattern.- Returns:
- the element matching 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
-