Interface CtArrayRead<T>

Type Parameters:
T - type of the array
All Superinterfaces:
Cloneable, CtArrayAccess<T,​CtExpression<?>>, CtCodeElement, CtElement, CtExpression<T>, CtQueryable, CtTargetedExpression<T,​CtExpression<?>>, CtTypedElement<T>, CtVisitable, FactoryAccessor, Serializable, SourcePositionHolder, TemplateParameter<T>
All Known Implementing Classes:
CtArrayReadImpl

public interface CtArrayRead<T> extends CtArrayAccess<T,​CtExpression<?>>
This code element defines a read access to an array. In Java, it is a usage of an array outside an assignment. For example,
     int[] array = new int[10];
     System.out.println(
     array[0] // <-- array read
     );