public class WildcardMatch.ConditionalExpressionWildcard extends WildcardMatch.AbstractBaseExpressionWildcard implements ConditionalExpression, Wildcard<ConditionalExpression>
Modifier and Type | Field and Description |
---|---|
private ConditionalExpression |
matchedValue |
Constructor and Description |
---|
ConditionalExpressionWildcard() |
Modifier and Type | Method and 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() |
addLoc, applyExpressionRewriter, applyReverseExpressionRewriter, canPushDownInto, canThrow, collectTypeUsages, collectUsedLValues, deepClone, dumpWithOuterPrecedence, equivalentUnder, getCombinedLoc, getComputedLiteral, getInferredJavaType, getLoc, getPrecedence, isSimple, isValidStatement, outerDeepClone, pushDown, replaceSingleUsageLValues, visit
dump
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyExpressionRewriter, applyReverseExpressionRewriter, canPushDownInto, canThrow, collectUsedLValues, dump, equivalentUnder, getComputedLiteral, getInferredJavaType, isSimple, isValidStatement, pushDown, replaceSingleUsageLValues, visit
dumpWithOuterPrecedence, getPrecedence
deepClone, outerDeepClone
collectTypeUsages
addLoc, getCombinedLoc, getLoc
private ConditionalExpression matchedValue
public ConditionalExpression getMatch()
getMatch
in interface Wildcard<ConditionalExpression>
public void resetMatch()
resetMatch
in interface Wildcard<ConditionalExpression>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ConditionalExpression simplify()
simplify
in interface ConditionalExpression
public ConditionalExpression optimiseForType()
optimiseForType
in interface ConditionalExpression
public java.util.Set<LValue> getLoopLValues()
getLoopLValues
in interface ConditionalExpression
public ConditionalExpression getDemorganApplied(boolean amNegating)
getDemorganApplied
in interface ConditionalExpression
public ConditionalExpression getRightDeep()
getRightDeep
in interface ConditionalExpression
public int getSize(Precedence outerPrecedence)
getSize
in interface ConditionalExpression
public ConditionalExpression getNegated()
getNegated
in interface ConditionalExpression