Class WildcardMatch.LValueWildcard
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.LValueWildcard
- All Implemented Interfaces:
LValue
,DeepCloneable<LValue>
,Wildcard<LValue>
,Dumpable
,DumpableWithPrecedence
,TypeUsageCollectable
- Enclosing class:
- WildcardMatch
public class WildcardMatch.LValueWildcard
extends WildcardMatch.DebugDumpable
implements LValue, Wildcard<LValue>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.LValue
LValue.Creation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyExpressionRewriter
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) boolean
canThrow
(ExceptionCheck caught) void
collectLValueAssignments
(Expression assignedTo, StatementContainer statementContainer, LValueAssignmentCollector lValueAssigmentCollector) void
collectLValueUsage
(LValueUsageCollector lValueUsageCollector) void
collectTypeUsages
(TypeUsageCollector collector) collectVariableMutation
(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) deepClone
(CloneHelper cloneHelper) boolean
doesBlackListLValueReplacement
(LValue replace, Expression with) dumpWithOuterPrecedence
(Dumper d, Precedence outerPrecedence, Troolean isLhs) boolean
getMatch()
int
boolean
isFinal()
boolean
isVar()
void
void
markVar()
outerDeepClone
(CloneHelper cloneHelper) replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) void
boolean
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
dump
-
Field Details
-
test
-
matchedValue
-
-
Constructor Details
-
LValueWildcard
-
-
Method Details
-
markFinal
public void markFinal() -
isFinal
public boolean isFinal() -
markVar
public void markVar() -
isVar
public boolean isVar() -
validIterator
public boolean validIterator()- Specified by:
validIterator
in interfaceLValue
-
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
-
collectLValueUsage
- Specified by:
collectLValueUsage
in interfaceLValue
-
getAnnotatedCreationType
- Specified by:
getAnnotatedCreationType
in interfaceLValue
-
doesBlackListLValueReplacement
- Specified by:
doesBlackListLValueReplacement
in interfaceLValue
-
deepClone
- Specified by:
deepClone
in interfaceDeepCloneable<LValue>
-
outerDeepClone
- Specified by:
outerDeepClone
in interfaceDeepCloneable<LValue>
-
getNumberOfCreators
public int getNumberOfCreators()- Specified by:
getNumberOfCreators
in interfaceLValue
-
collectLValueAssignments
public void collectLValueAssignments(Expression assignedTo, StatementContainer statementContainer, LValueAssignmentCollector lValueAssigmentCollector) - Specified by:
collectLValueAssignments
in interfaceLValue
-
collectVariableMutation
public SSAIdentifiers<LValue> collectVariableMutation(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) - Specified by:
collectVariableMutation
in interfaceLValue
-
replaceSingleUsageLValues
public LValue replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) - Specified by:
replaceSingleUsageLValues
in interfaceLValue
-
applyExpressionRewriter
public LValue applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) - Specified by:
applyExpressionRewriter
in interfaceLValue
-
getInferredJavaType
- Specified by:
getInferredJavaType
in interfaceLValue
-
getPrecedence
- Specified by:
getPrecedence
in interfaceDumpableWithPrecedence
-
dump
-
dumpWithOuterPrecedence
- Specified by:
dumpWithOuterPrecedence
in interfaceDumpableWithPrecedence
-
canThrow
-
equals
-
getMatch
-
resetMatch
public void resetMatch()- Specified by:
resetMatch
in interfaceWildcard<LValue>
-