Interface ParamVar

All Superinterfaces:
Assignable, Expr, SimpleTyped, Typed, Var

public sealed interface ParamVar extends Var
A variable representing a method call parameter.
  • Method Details

    • index

      int index()
      Returns the parameter index, counting from zero. The index does not include any "this" variable. The index only increments once per parameter, even if the parameter type is long or double.
      Returns:
      the parameter index, counting from zero