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 private
AbstractBaseExpressionWildcard()
-
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:
getCombinedLoc
in interfaceHasByteCodeLoc
-
getLoc
public BytecodeLoc getLoc()
- Specified by:
getLoc
in interfaceHasByteCodeLoc
-
addLoc
public void addLoc(HasByteCodeLoc loc)
- Specified by:
addLoc
in interfaceHasByteCodeLoc
-
replaceSingleUsageLValues
public Expression replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer)
- Specified by:
replaceSingleUsageLValues
in interfaceExpression
-
applyExpressionRewriter
public Expression applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
- Specified by:
applyExpressionRewriter
in interfaceExpression
-
applyReverseExpressionRewriter
public Expression applyReverseExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
- Specified by:
applyReverseExpressionRewriter
in interfaceExpression
-
isSimple
public boolean isSimple()
- Specified by:
isSimple
in interfaceExpression
-
isValidStatement
public boolean isValidStatement()
- Specified by:
isValidStatement
in interfaceExpression
-
collectUsedLValues
public void collectUsedLValues(LValueUsageCollector lValueUsageCollector)
- Specified by:
collectUsedLValues
in interfaceExpression
-
canPushDownInto
public boolean canPushDownInto()
- Specified by:
canPushDownInto
in interfaceExpression
-
pushDown
public Expression pushDown(Expression toPush, Expression parent)
- Specified by:
pushDown
in interfaceExpression
-
getInferredJavaType
public InferredJavaType getInferredJavaType()
- Specified by:
getInferredJavaType
in interfaceExpression
-
deepClone
public Expression deepClone(CloneHelper cloneHelper)
- Specified by:
deepClone
in interfaceDeepCloneable<Expression>
-
outerDeepClone
public Expression outerDeepClone(CloneHelper cloneHelper)
- Specified by:
outerDeepClone
in interfaceDeepCloneable<Expression>
-
getPrecedence
public Precedence getPrecedence()
- Specified by:
getPrecedence
in interfaceDumpableWithPrecedence
-
dumpWithOuterPrecedence
public Dumper dumpWithOuterPrecedence(Dumper d, Precedence outerPrecedence, Troolean isLhs)
- Specified by:
dumpWithOuterPrecedence
in interfaceDumpableWithPrecedence
-
equivalentUnder
public boolean equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)
- Specified by:
equivalentUnder
in interfaceComparableUnderEC
- Specified by:
equivalentUnder
in interfaceExpression
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
-
canThrow
public boolean canThrow(ExceptionCheck caught)
- Specified by:
canThrow
in interfaceExpression
-
getComputedLiteral
public Literal getComputedLiteral(java.util.Map<LValue,Literal> display)
- Specified by:
getComputedLiteral
in interfaceExpression
-
visit
public <T> T visit(ExpressionVisitor<T> visitor)
- Specified by:
visit
in interfaceExpression
-
-