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 static 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 LValuematchedValueprivate Predicate<LValue>test
-
Constructor Summary
Constructors Constructor Description LValueWildcard(Predicate<LValue> test)
-
Method Summary
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
dump
-
-
-
-
Method Detail
-
isFakeIgnored
public boolean isFakeIgnored()
- Specified by:
isFakeIgnoredin interfaceLValue
-
validIterator
public boolean validIterator()
- Specified by:
validIteratorin interfaceLValue
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable
-
collectLValueUsage
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
- Specified by:
collectLValueUsagein interfaceLValue
-
getAnnotatedCreationType
public JavaAnnotatedTypeInstance getAnnotatedCreationType()
- Specified by:
getAnnotatedCreationTypein interfaceLValue
-
doesBlackListLValueReplacement
public boolean doesBlackListLValueReplacement(LValue replace, Expression with)
- Specified by:
doesBlackListLValueReplacementin interfaceLValue
-
deepClone
public LValue deepClone(CloneHelper cloneHelper)
- Specified by:
deepClonein interfaceDeepCloneable<LValue>
-
outerDeepClone
public LValue outerDeepClone(CloneHelper cloneHelper)
- Specified by:
outerDeepClonein interfaceDeepCloneable<LValue>
-
getNumberOfCreators
public int getNumberOfCreators()
- Specified by:
getNumberOfCreatorsin interfaceLValue
-
collectLValueAssignments
public void collectLValueAssignments(Expression assignedTo, StatementContainer statementContainer, LValueAssignmentCollector lValueAssigmentCollector)
- Specified by:
collectLValueAssignmentsin interfaceLValue
-
collectVariableMutation
public SSAIdentifiers<LValue> collectVariableMutation(SSAIdentifierFactory<LValue,?> ssaIdentifierFactory)
- Specified by:
collectVariableMutationin interfaceLValue
-
replaceSingleUsageLValues
public LValue replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer)
- Specified by:
replaceSingleUsageLValuesin interfaceLValue
-
applyExpressionRewriter
public LValue applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
- Specified by:
applyExpressionRewriterin interfaceLValue
-
getInferredJavaType
public InferredJavaType getInferredJavaType()
- Specified by:
getInferredJavaTypein interfaceLValue
-
getPrecedence
public Precedence getPrecedence()
- Specified by:
getPrecedencein interfaceDumpableWithPrecedence
-
dumpWithOuterPrecedence
public Dumper dumpWithOuterPrecedence(Dumper d, Precedence outerPrecedence, Troolean isLhs)
- Specified by:
dumpWithOuterPrecedencein interfaceDumpableWithPrecedence
-
canThrow
public boolean canThrow(ExceptionCheck caught)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
resetMatch
public void resetMatch()
- Specified by:
resetMatchin interfaceWildcard<LValue>
-
-