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 Modifier and Type Field Description private LValue
matchedValue
private Predicate<LValue>
test
-
Constructor Summary
Constructors Modifier Constructor Description private
LValueWildcard(Predicate<LValue> test)
-
Method Summary
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
dump
-
-
-
-
Method Detail
-
validIterator
public boolean validIterator()
- Specified by:
validIterator
in interfaceLValue
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
-
collectLValueUsage
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
- Specified by:
collectLValueUsage
in interfaceLValue
-
getAnnotatedCreationType
public JavaAnnotatedTypeInstance getAnnotatedCreationType()
- Specified by:
getAnnotatedCreationType
in interfaceLValue
-
doesBlackListLValueReplacement
public boolean doesBlackListLValueReplacement(LValue replace, Expression with)
- Specified by:
doesBlackListLValueReplacement
in interfaceLValue
-
deepClone
public LValue deepClone(CloneHelper cloneHelper)
- Specified by:
deepClone
in interfaceDeepCloneable<LValue>
-
outerDeepClone
public LValue outerDeepClone(CloneHelper cloneHelper)
- 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
public InferredJavaType getInferredJavaType()
- Specified by:
getInferredJavaType
in interfaceLValue
-
getPrecedence
public Precedence getPrecedence()
- Specified by:
getPrecedence
in interfaceDumpableWithPrecedence
-
dumpWithOuterPrecedence
public Dumper dumpWithOuterPrecedence(Dumper d, Precedence outerPrecedence, Troolean isLhs)
- Specified by:
dumpWithOuterPrecedence
in interfaceDumpableWithPrecedence
-
canThrow
public boolean canThrow(ExceptionCheck caught)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
resetMatch
public void resetMatch()
- Specified by:
resetMatch
in interfaceWildcard<LValue>
-
-