public class SymbolicValue extends Object
| Modifier and Type | Field and Description |
|---|---|
static SymbolicValue |
NULL_OR_UNDEFINED |
static SymbolicValue |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
SymbolicValue |
constrain(Truthiness truthiness) |
boolean |
equals(Object obj) |
static SymbolicValue |
get(ExpressionTree expression) |
int |
hashCode() |
boolean |
isDefinitelyNullOrUndefined() |
static SymbolicValue |
literal(boolean isTruthy) |
Truthiness |
truthiness() |
public static final SymbolicValue NULL_OR_UNDEFINED
public static final SymbolicValue UNKNOWN
public static SymbolicValue get(ExpressionTree expression)
public static SymbolicValue literal(boolean isTruthy)
public boolean isDefinitelyNullOrUndefined()
true if we know that this SymbolicValue is either null or undefined, false otherwisepublic Truthiness truthiness()
public SymbolicValue constrain(Truthiness truthiness)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.