Interface CtVariableWrite<T>

Type Parameters:
T - type of the variable
All Superinterfaces:
Cloneable, CtCodeElement, CtElement, CtExpression<T>, CtQueryable, CtTypedElement<T>, CtVariableAccess<T>, CtVisitable, FactoryAccessor, Serializable, SourcePositionHolder, TemplateParameter<T>
All Known Subinterfaces:
CtFieldWrite<T>
All Known Implementing Classes:
CtFieldWriteImpl, CtVariableWriteImpl

public interface CtVariableWrite<T> extends CtVariableAccess<T>
This code element defines a write to a variable.

A variable-write is an assignment to a variable.

For example:

     String variable = "";
     variable = "new value"; // variable write
 
     String variable = "";
     variable += "";
 
See Also:
CtAssignment.getAssigned(), CtArrayWrite