Class FormalParameter

java.lang.Object
org.checkerframework.dataflow.expression.JavaExpression
org.checkerframework.dataflow.expression.FormalParameter

public class FormalParameter extends JavaExpression
A formal parameter, represented by its 1-based index.

LocalVariable represents a formal parameter expressed using its name.

  • Field Details

    • index

      protected final int index
      The 1-based index.
    • element

      protected final VariableElement element
      The element for this formal parameter.
  • Constructor Details

    • FormalParameter

      public FormalParameter(int index, VariableElement element)
      Creates a FormalParameter.
      Parameters:
      index - the 1-based index
      element - the element for the formal parameter
  • Method Details