public abstract static class FlowExpressions.Receiver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.lang.model.type.TypeMirror |
type |
Constructor and Description |
---|
Receiver(javax.lang.model.type.TypeMirror type) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsModifiableAliasOf(Store<?> store,
FlowExpressions.Receiver other)
Returns true if and only if
other appears anywhere in this receiver or an
expression appears in this receiver such that other might alias this expression,
and that expression is modifiable. |
abstract boolean |
containsOfClass(java.lang.Class<? extends FlowExpressions.Receiver> clazz) |
boolean |
containsSyntacticEqualReceiver(FlowExpressions.Receiver other) |
boolean |
containsUnknown() |
javax.lang.model.type.TypeMirror |
getType() |
abstract boolean |
isUnmodifiableByOtherCode()
Returns true if and only if the value this expression stands for cannot be changed by a
method call.
|
boolean |
syntacticEquals(FlowExpressions.Receiver other) |
public javax.lang.model.type.TypeMirror getType()
public abstract boolean containsOfClass(java.lang.Class<? extends FlowExpressions.Receiver> clazz)
public boolean containsUnknown()
public abstract boolean isUnmodifiableByOtherCode()
isUnmodifiableByOtherCode()
is true.public boolean syntacticEquals(FlowExpressions.Receiver other)
public boolean containsSyntacticEqualReceiver(FlowExpressions.Receiver other)
other
.public boolean containsModifiableAliasOf(Store<?> store, FlowExpressions.Receiver other)
other
appears anywhere in this receiver or an
expression appears in this receiver such that other
might alias this expression,
and that expression is modifiable.
This is always true, except for cases where the Java type information prevents aliasing and none of the subexpressions can alias 'other'.