Interface ArrayAccessTree

  • All Superinterfaces:
    ExpressionTree, Tree


    public interface ArrayAccessTree
    extends ExpressionTree
    A tree node for an array access expression. For example:
       expression [ index ]
     
    Since:
    9
    • Method Detail

      • getExpression

        ExpressionTree getExpression​()
        Returns the array that is accessed.
        Returns:
        the array that is accessed
      • getIndex

        ExpressionTree getIndex​()
        Returns the index of the array element accessed.
        Returns:
        the index expression