Class StackSSALabel
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
-
- org.benf.cfr.reader.bytecode.analysis.parse.lvalue.StackSSALabel
-
- All Implemented Interfaces:
LValue
,DeepCloneable<LValue>
,Dumpable
,DumpableWithPrecedence
,TypeUsageCollectable
- Direct Known Subclasses:
WildcardMatch.StackLabelWildCard
public class StackSSALabel extends AbstractLValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.LValue
LValue.Creation
-
-
Field Summary
Fields Modifier and Type Field Description private long
id
private StackEntry
stackEntry
-
Constructor Summary
Constructors Modifier Constructor Description StackSSALabel(long id, StackEntry stackEntry)
protected
StackSSALabel(InferredJavaType inferredJavaType)
-
Method Summary
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
collectLValueUsage, collectTypeUsages, doesBlackListLValueReplacement, dump, dumpWithOuterPrecedence, getAnnotatedCreationType, getInferredJavaType, outerDeepClone, toString, typeToString, validIterator
-
-
-
-
Field Detail
-
id
private final long id
-
stackEntry
private final StackEntry stackEntry
-
-
Constructor Detail
-
StackSSALabel
public StackSSALabel(long id, StackEntry stackEntry)
-
StackSSALabel
protected StackSSALabel(InferredJavaType inferredJavaType)
-
-
Method Detail
-
markFinal
public void markFinal()
-
isFinal
public boolean isFinal()
-
isFakeIgnored
public boolean isFakeIgnored()
- Specified by:
isFakeIgnored
in interfaceLValue
- Overrides:
isFakeIgnored
in classAbstractLValue
-
markVar
public void markVar()
-
isVar
public boolean isVar()
-
getPrecedence
public Precedence getPrecedence()
- Specified by:
getPrecedence
in interfaceDumpableWithPrecedence
- Specified by:
getPrecedence
in classAbstractLValue
-
dump
public Dumper dump(Dumper d, boolean defines)
- Specified by:
dump
in interfaceLValue
- Overrides:
dump
in classAbstractLValue
-
dumpInner
public Dumper dumpInner(Dumper d)
- Specified by:
dumpInner
in classAbstractLValue
-
getNumberOfCreators
public int getNumberOfCreators()
-
deepClone
public LValue deepClone(CloneHelper cloneHelper)
-
canThrow
public boolean canThrow(ExceptionCheck caught)
- Specified by:
canThrow
in interfaceLValue
- Overrides:
canThrow
in classAbstractLValue
-
collectLValueAssignments
public <Statement> void collectLValueAssignments(Expression rhsAssigned, StatementContainer<Statement> statementContainer, LValueAssignmentCollector<Statement> lValueAssigmentCollector)
-
collectVariableMutation
public SSAIdentifiers<LValue> collectVariableMutation(SSAIdentifierFactory<LValue,?> ssaIdentifierFactory)
-
replaceSingleUsageLValues
public LValue replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer)
-
applyExpressionRewriter
public LValue applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
-
getStackEntry
public StackEntry getStackEntry()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-