public abstract class AbstractLValue extends java.lang.Object implements LValue
LValue.Creation
Modifier and Type | Field and Description |
---|---|
private InferredJavaType |
inferredJavaType |
Constructor and Description |
---|
AbstractLValue(InferredJavaType inferredJavaType) |
Modifier and Type | Method and Description |
---|---|
boolean |
canThrow(ExceptionCheck caught) |
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
void |
collectTypeUsages(TypeUsageCollector collector) |
boolean |
doesBlackListLValueReplacement(LValue replace,
Expression with) |
Dumper |
dump(Dumper d) |
Dumper |
dump(Dumper d,
boolean defines) |
abstract Dumper |
dumpInner(Dumper d) |
Dumper |
dumpWithOuterPrecedence(Dumper d,
Precedence outerP,
Troolean isLhs) |
JavaAnnotatedTypeInstance |
getAnnotatedCreationType() |
InferredJavaType |
getInferredJavaType() |
abstract Precedence |
getPrecedence() |
LValue |
outerDeepClone(CloneHelper cloneHelper) |
java.lang.String |
toString() |
(package private) java.lang.String |
typeToString() |
boolean |
validIterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyExpressionRewriter, collectLValueAssignments, collectVariableMutation, getNumberOfCreators, isFinal, isVar, markFinal, markVar, replaceSingleUsageLValues
deepClone
private InferredJavaType inferredJavaType
public AbstractLValue(InferredJavaType inferredJavaType)
java.lang.String typeToString()
public InferredJavaType getInferredJavaType()
getInferredJavaType
in interface LValue
public JavaAnnotatedTypeInstance getAnnotatedCreationType()
getAnnotatedCreationType
in interface LValue
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
collectLValueUsage
in interface LValue
public boolean doesBlackListLValueReplacement(LValue replace, Expression with)
doesBlackListLValueReplacement
in interface LValue
public LValue outerDeepClone(CloneHelper cloneHelper)
outerDeepClone
in interface DeepCloneable<LValue>
public boolean canThrow(ExceptionCheck caught)
public boolean validIterator()
validIterator
in interface LValue
public final java.lang.String toString()
toString
in class java.lang.Object
public abstract Precedence getPrecedence()
getPrecedence
in interface DumpableWithPrecedence
public final Dumper dumpWithOuterPrecedence(Dumper d, Precedence outerP, Troolean isLhs)
dumpWithOuterPrecedence
in interface DumpableWithPrecedence