Class EnumMethodLambdaParameterDescriptor
java.lang.Object
com.espertech.esper.common.client.hook.enummethod.EnumMethodLambdaParameterDescriptor
For use with lambda parameters, the descriptor identifies a specific lambda parameter.
For instance mymethod(1, (v, i) => 2)
the parameter number is 1 amd the lambda parameter number
is zero for "v" and one for "i".
-
Constructor Summary
ConstructorDescriptionEnumMethodLambdaParameterDescriptor
(int parameterNumber, int lambdaParameterNumber) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the lambda parameter number.int
Returns the overall parameter number.
-
Constructor Details
-
EnumMethodLambdaParameterDescriptor
public EnumMethodLambdaParameterDescriptor(int parameterNumber, int lambdaParameterNumber) Ctor.- Parameters:
parameterNumber
- overall parameter numberlambdaParameterNumber
- lambda parameter number
-
-
Method Details
-
getParameterNumber
public int getParameterNumber()Returns the overall parameter number.- Returns:
- number
-
getLambdaParameterNumber
public int getLambdaParameterNumber()Returns the lambda parameter number.- Returns:
- number
-