Class ArrayAccess

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

public class ArrayAccess extends JavaExpression
An array access.
  • Field Details

    • array

      protected final JavaExpression array
      The array being accessed.
    • index

      protected final JavaExpression index
      The index; an expression of type int.
  • Constructor Details

    • ArrayAccess

      public ArrayAccess(TypeMirror type, JavaExpression array, JavaExpression index)
      Create a new ArrayAccess.
      Parameters:
      type - the type of the array access
      array - the array being accessed
      index - the index; an expression of type int
  • Method Details