Class WildcardMatch.ConditionalExpressionWildcard
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
-
- org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.AbstractBaseExpressionWildcard
-
- org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.ConditionalExpressionWildcard
-
- All Implemented Interfaces:
HasByteCodeLoc
,Expression
,ConditionalExpression
,DeepCloneable<Expression>
,ComparableUnderEC
,Wildcard<ConditionalExpression>
,Dumpable
,DumpableWithPrecedence
,TypeUsageCollectable
- Enclosing class:
- WildcardMatch
public class WildcardMatch.ConditionalExpressionWildcard extends WildcardMatch.AbstractBaseExpressionWildcard implements ConditionalExpression, Wildcard<ConditionalExpression>
-
-
Field Summary
Fields Modifier and Type Field Description private ConditionalExpression
matchedValue
-
Constructor Summary
Constructors Constructor Description ConditionalExpressionWildcard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ConditionalExpression
getDemorganApplied(boolean amNegating)
java.util.Set<LValue>
getLoopLValues()
ConditionalExpression
getMatch()
ConditionalExpression
getNegated()
ConditionalExpression
getRightDeep()
int
getSize(Precedence outerPrecedence)
ConditionalExpression
optimiseForType()
void
resetMatch()
ConditionalExpression
simplify()
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.AbstractBaseExpressionWildcard
addLoc, applyExpressionRewriter, applyReverseExpressionRewriter, canPushDownInto, canThrow, collectTypeUsages, collectUsedLValues, deepClone, dumpWithOuterPrecedence, equivalentUnder, getCombinedLoc, getComputedLiteral, getInferredJavaType, getLoc, getPrecedence, isSimple, isValidStatement, outerDeepClone, pushDown, replaceSingleUsageLValues, visit
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.wildcard.WildcardMatch.DebugDumpable
dump
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.rewriters.DeepCloneable
deepClone, outerDeepClone
-
Methods inherited from interface org.benf.cfr.reader.util.output.DumpableWithPrecedence
dumpWithOuterPrecedence, getPrecedence
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.Expression
applyExpressionRewriter, applyReverseExpressionRewriter, canPushDownInto, canThrow, collectUsedLValues, dump, equivalentUnder, getComputedLiteral, getInferredJavaType, isSimple, isValidStatement, pushDown, replaceSingleUsageLValues, visit
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.loc.HasByteCodeLoc
addLoc, getCombinedLoc, getLoc
-
Methods inherited from interface org.benf.cfr.reader.util.TypeUsageCollectable
collectTypeUsages
-
-
-
-
Field Detail
-
matchedValue
private ConditionalExpression matchedValue
-
-
Method Detail
-
getMatch
public ConditionalExpression getMatch()
- Specified by:
getMatch
in interfaceWildcard<ConditionalExpression>
-
resetMatch
public void resetMatch()
- Specified by:
resetMatch
in interfaceWildcard<ConditionalExpression>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
simplify
public ConditionalExpression simplify()
- Specified by:
simplify
in interfaceConditionalExpression
-
optimiseForType
public ConditionalExpression optimiseForType()
- Specified by:
optimiseForType
in interfaceConditionalExpression
-
getLoopLValues
public java.util.Set<LValue> getLoopLValues()
- Specified by:
getLoopLValues
in interfaceConditionalExpression
-
getDemorganApplied
public ConditionalExpression getDemorganApplied(boolean amNegating)
- Specified by:
getDemorganApplied
in interfaceConditionalExpression
-
getRightDeep
public ConditionalExpression getRightDeep()
- Specified by:
getRightDeep
in interfaceConditionalExpression
-
getSize
public int getSize(Precedence outerPrecedence)
- Specified by:
getSize
in interfaceConditionalExpression
-
getNegated
public ConditionalExpression getNegated()
- Specified by:
getNegated
in interfaceConditionalExpression
-
-