Package com.strobel.expressions
Class ConstantCheck
- java.lang.Object
-
- com.strobel.expressions.ConstantCheck
-
final class ConstantCheck extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConstantCheck()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static AnalyzeTypeIsResultanalyzeInstanceOf(Expression operand, Type<?> testType)(package private) static AnalyzeTypeIsResultanalyzeInstanceOf(TypeBinaryExpression typeIs)(package private) static booleanisFalse(Expression e)(package private) static booleanisNull(Expression e)(package private) static booleanisStringLiteral(Expression e)(package private) static booleanisTrue(Expression e)
-
-
-
Method Detail
-
isNull
static boolean isNull(Expression e)
-
isStringLiteral
static boolean isStringLiteral(Expression e)
-
isTrue
static boolean isTrue(Expression e)
-
isFalse
static boolean isFalse(Expression e)
-
analyzeInstanceOf
static AnalyzeTypeIsResult analyzeInstanceOf(TypeBinaryExpression typeIs)
-
analyzeInstanceOf
private static AnalyzeTypeIsResult analyzeInstanceOf(Expression operand, Type<?> testType)
-
-