Class EnumMethodLambdaParameterDescriptor

java.lang.Object
com.espertech.esper.common.client.hook.enummethod.EnumMethodLambdaParameterDescriptor

public class EnumMethodLambdaParameterDescriptor extends Object
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 Details

    • EnumMethodLambdaParameterDescriptor

      public EnumMethodLambdaParameterDescriptor(int parameterNumber, int lambdaParameterNumber)
      Ctor.
      Parameters:
      parameterNumber - overall parameter number
      lambdaParameterNumber - 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