Class WildcardMatch.AbstractBaseExpressionWildcard
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
-
- org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.AbstractBaseExpressionWildcard
-
- All Implemented Interfaces:
HasByteCodeLoc,Expression,DeepCloneable<Expression>,ComparableUnderEC,Dumpable,DumpableWithPrecedence,TypeUsageCollectable
- Direct Known Subclasses:
WildcardMatch.AnyOneOfExpression,WildcardMatch.ArithmeticMutationWildcard,WildcardMatch.CastExpressionWildcard,WildcardMatch.ConditionalExpressionWildcard,WildcardMatch.ConstructorInvokationAnonymousInnerWildcard,WildcardMatch.ConstructorInvokationSimpleWildcard,WildcardMatch.ExpressionWildcard,WildcardMatch.MemberFunctionInvokationWildcard,WildcardMatch.NewArrayWildcard,WildcardMatch.StaticFunctionInvokationWildcard,WildcardMatch.SuperFunctionInvokationWildcard
- Enclosing class:
- WildcardMatch
private abstract static class WildcardMatch.AbstractBaseExpressionWildcard extends WildcardMatch.DebugDumpable implements Expression
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAbstractBaseExpressionWildcard()
-
Method Summary
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
dump
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.Expression
dump
-
-
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
- Specified by:
getCombinedLocin interfaceHasByteCodeLoc
-
getLoc
public BytecodeLoc getLoc()
- Specified by:
getLocin interfaceHasByteCodeLoc
-
addLoc
public void addLoc(HasByteCodeLoc loc)
- Specified by:
addLocin interfaceHasByteCodeLoc
-
replaceSingleUsageLValues
public Expression replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer)
- Specified by:
replaceSingleUsageLValuesin interfaceExpression
-
applyExpressionRewriter
public Expression applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
- Specified by:
applyExpressionRewriterin interfaceExpression
-
applyReverseExpressionRewriter
public Expression applyReverseExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
- Specified by:
applyReverseExpressionRewriterin interfaceExpression
-
isSimple
public boolean isSimple()
- Specified by:
isSimplein interfaceExpression
-
isValidStatement
public boolean isValidStatement()
- Specified by:
isValidStatementin interfaceExpression
-
collectUsedLValues
public void collectUsedLValues(LValueUsageCollector lValueUsageCollector)
- Specified by:
collectUsedLValuesin interfaceExpression
-
canPushDownInto
public boolean canPushDownInto()
- Specified by:
canPushDownIntoin interfaceExpression
-
pushDown
public Expression pushDown(Expression toPush, Expression parent)
- Specified by:
pushDownin interfaceExpression
-
getInferredJavaType
public InferredJavaType getInferredJavaType()
- Specified by:
getInferredJavaTypein interfaceExpression
-
deepClone
public Expression deepClone(CloneHelper cloneHelper)
- Specified by:
deepClonein interfaceDeepCloneable<Expression>
-
outerDeepClone
public Expression outerDeepClone(CloneHelper cloneHelper)
- Specified by:
outerDeepClonein interfaceDeepCloneable<Expression>
-
getPrecedence
public Precedence getPrecedence()
- Specified by:
getPrecedencein interfaceDumpableWithPrecedence
-
dumpWithOuterPrecedence
public Dumper dumpWithOuterPrecedence(Dumper d, Precedence outerPrecedence, Troolean isLhs)
- Specified by:
dumpWithOuterPrecedencein interfaceDumpableWithPrecedence
-
equivalentUnder
public boolean equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)- Specified by:
equivalentUnderin interfaceComparableUnderEC- Specified by:
equivalentUnderin interfaceExpression
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable
-
canThrow
public boolean canThrow(ExceptionCheck caught)
- Specified by:
canThrowin interfaceExpression
-
getComputedLiteral
public Literal getComputedLiteral(java.util.Map<LValue,Literal> display)
- Specified by:
getComputedLiteralin interfaceExpression
-
visit
public <T> T visit(ExpressionVisitor<T> visitor)
- Specified by:
visitin interfaceExpression
-
-