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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.LValue
LValue.Creation
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionStackSSALabel
(long id, StackEntry stackEntry) protected
StackSSALabel
(InferredJavaType inferredJavaType) -
Method Summary
Modifier and TypeMethodDescriptionapplyExpressionRewriter
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) boolean
canThrow
(ExceptionCheck caught) <Statement>
voidcollectLValueAssignments
(Expression rhsAssigned, StatementContainer<Statement> statementContainer, LValueAssignmentCollector<Statement> lValueAssigmentCollector) collectVariableMutation
(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) deepClone
(CloneHelper cloneHelper) boolean
int
int
hashCode()
boolean
isFinal()
boolean
isVar()
void
void
markVar()
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) 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 Details
-
id
private final long id -
stackEntry
-
-
Constructor Details
-
StackSSALabel
-
StackSSALabel
-
-
Method Details
-
markFinal
public void markFinal() -
isFinal
public boolean isFinal() -
markVar
public void markVar() -
isVar
public boolean isVar() -
getPrecedence
- Specified by:
getPrecedence
in interfaceDumpableWithPrecedence
- Specified by:
getPrecedence
in classAbstractLValue
-
dump
- Specified by:
dump
in interfaceLValue
- Overrides:
dump
in classAbstractLValue
-
dumpInner
- Specified by:
dumpInner
in classAbstractLValue
-
getNumberOfCreators
public int getNumberOfCreators() -
deepClone
-
canThrow
- 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
-
hashCode
public int hashCode() -
equals
-