public static class FlowExpressions.ArrayCreation extends FlowExpressions.Receiver
new String[]().| Modifier and Type | Field and Description | 
|---|---|
protected List<? extends FlowExpressions.Receiver> | 
dimensions
List of dimensions expressions. 
 | 
protected List<FlowExpressions.Receiver> | 
initializers
List of initializers. 
 | 
type| Constructor and Description | 
|---|
ArrayCreation(TypeMirror type,
             List<? extends FlowExpressions.Receiver> dimensions,
             List<FlowExpressions.Receiver> initializers)
Creates an ArrayCreation object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
containsOfClass(Class<? extends FlowExpressions.Receiver> clazz)  | 
boolean | 
containsSyntacticEqualReceiver(FlowExpressions.Receiver other)
Returns true if and only if this receiver contains a receiver that is syntactically equal
 to  
other. | 
boolean | 
equals(@Nullable Object obj)  | 
List<? extends FlowExpressions.Receiver> | 
getDimensions()
Returns a list of receivers representing the dimension of this array creation. 
 | 
List<FlowExpressions.Receiver> | 
getInitializers()  | 
int | 
hashCode()  | 
boolean | 
isUnassignableByOtherCode()
Returns true if and only if the value this expression stands for cannot be changed (with
 respect to ==) by a method call. 
 | 
boolean | 
isUnmodifiableByOtherCode()
Returns true if and only if the value this expression stands for cannot be changed by a
 method call, including changes to any of its fields. 
 | 
boolean | 
syntacticEquals(FlowExpressions.Receiver other)
Returns true if and only if the two receivers are syntactically identical. 
 | 
String | 
toString()  | 
containsModifiableAliasOf, containsUnknown, getType, toStringDebugprotected final List<? extends FlowExpressions.Receiver> dimensions
protected final List<FlowExpressions.Receiver> initializers
public ArrayCreation(TypeMirror type, List<? extends FlowExpressions.Receiver> dimensions, List<FlowExpressions.Receiver> initializers)
type - array typedimensions - list of dimension expressions; {code null} means that there is no
     dimension expressioninitializers - list of initializer expressionspublic List<? extends FlowExpressions.Receiver> getDimensions()
public List<FlowExpressions.Receiver> getInitializers()
public boolean containsOfClass(Class<? extends FlowExpressions.Receiver> clazz)
containsOfClass in class FlowExpressions.Receiverpublic boolean isUnassignableByOtherCode()
FlowExpressions.ReceiverFlowExpressions.Receiver.isUnassignableByOtherCode(), and
 binary operations whose left and right operands are both FlowExpressions.Receiver.isUnmodifiableByOtherCode().isUnassignableByOtherCode in class FlowExpressions.ReceiverFlowExpressions.Receiver.isUnmodifiableByOtherCode()public boolean isUnmodifiableByOtherCode()
FlowExpressions.ReceiverApproximately, this returns true if the expression is FlowExpressions.Receiver.isUnassignableByOtherCode() and its type is immutable.
isUnmodifiableByOtherCode in class FlowExpressions.ReceiverFlowExpressions.Receiver.isUnassignableByOtherCode()public boolean syntacticEquals(FlowExpressions.Receiver other)
FlowExpressions.ReceiversyntacticEquals in class FlowExpressions.Receiverother - the other object to compare to this onepublic boolean containsSyntacticEqualReceiver(FlowExpressions.Receiver other)
FlowExpressions.Receiverother.containsSyntacticEqualReceiver in class FlowExpressions.Receiverother