Interface CtFieldRead<T>

Type Parameters:
T - type of the field
All Superinterfaces:
Cloneable, CtCodeElement, CtElement, CtExpression<T>, CtFieldAccess<T>, CtQueryable, CtTargetedExpression<T,​CtExpression<?>>, CtTypedElement<T>, CtVariableAccess<T>, CtVariableRead<T>, CtVisitable, FactoryAccessor, Serializable, SourcePositionHolder, TemplateParameter<T>
All Known Implementing Classes:
CtFieldReadImpl

public interface CtFieldRead<T> extends CtFieldAccess<T>, CtVariableRead<T>
This code element defines a read access to a field. In Java, it is a usage of a field outside an assignment. For example,
     class Foo { int field; }
     Foo x = new Foo();
     System.out.println(x.field);