Interface IArgumentProvider
-
- All Known Implementing Classes:
AbstractCallExpression,CallExpression,ConstructorCallExpression,InstantiateExpression,ModelCallExpression,ResolvableOperationCallExpression,RuleCallExpression,StrategyCallExpression,TemplateCallExpression
public interface IArgumentProviderMarks a class which stores / provides arguments.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CallArgumentgetArgument(int index)Returns the specified argument.intgetArgumentsCount()Returns the number of arguments.
-
-
-
Method Detail
-
getArgumentsCount
int getArgumentsCount()
Returns the number of arguments.- Returns:
- the number of arguments
-
getArgument
CallArgument getArgument(int index)
Returns the specified argument.- Parameters:
index- the index of the argument to be returned- Returns:
- the argument
- Throws:
java.lang.IndexOutOfBoundsException- in case ofindex < 0 || index >=.getArgumentsCount()
-
-