Class SentinelLocalClassLValue
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
org.benf.cfr.reader.bytecode.analysis.parse.lvalue.SentinelLocalClassLValue
- All Implemented Interfaces:
LValue, DeepCloneable<LValue>, Dumpable, DumpableWithPrecedence, TypeUsageCollectable
This is NOT an lvalue, however the definition of a local class follows the same scoping rules
-
Nested Class Summary
Nested classes/interfaces inherited from interface LValue
LValue.Creation -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) <T> voidcollectLValueAssignments(Expression assignedTo, StatementContainer<T> statementContainer, LValueAssignmentCollector<T> lValueAssigmentCollector) voidcollectTypeUsages(TypeUsageCollector collector) collectVariableMutation(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) deepClone(CloneHelper cloneHelper) booleanintinthashCode()booleanisFinal()booleanisVar()voidvoidmarkVar()replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) Methods inherited from class AbstractLValue
canThrow, collectLValueUsage, doesBlackListLValueReplacement, dump, dump, dumpWithOuterPrecedence, getAnnotatedCreationType, getInferredJavaType, isFakeIgnored, outerDeepClone, toString, typeToString, validIterator
-
Field Details
-
localClassType
-
-
Constructor Details
-
SentinelLocalClassLValue
-
-
Method Details
-
markFinal
public void markFinal() -
isFinal
public boolean isFinal() -
markVar
public void markVar() -
isVar
public boolean isVar() -
collectTypeUsages
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable- Overrides:
collectTypeUsagesin classAbstractLValue
-
getNumberOfCreators
public int getNumberOfCreators() -
collectLValueAssignments
public <T> void collectLValueAssignments(Expression assignedTo, StatementContainer<T> statementContainer, LValueAssignmentCollector<T> 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) -
deepClone
-
getPrecedence
- Specified by:
getPrecedencein interfaceDumpableWithPrecedence- Specified by:
getPrecedencein classAbstractLValue
-
dumpInner
- Specified by:
dumpInnerin classAbstractLValue
-
getLocalClassType
-
equals
-
hashCode
-