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 AnalyzeTypeIsResult
analyzeInstanceOf(Expression operand, Type<?> testType)
(package private) static AnalyzeTypeIsResult
analyzeInstanceOf(TypeBinaryExpression typeIs)
(package private) static boolean
isFalse(Expression e)
(package private) static boolean
isNull(Expression e)
(package private) static boolean
isStringLiteral(Expression e)
(package private) static boolean
isTrue(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)
-
-