public interface ExprOps
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
constantValue(Lang lang)
Return the constant value of the expression, if any.
|
boolean |
constantValueSet(Lang lang)
Return true iff the compiler has determined whether this expression has a
constant value.
|
boolean |
isConstant(Lang lang)
Return whether the expression evaluates to a constant.
|
boolean constantValueSet(Lang lang)
isConstant()
is valid only if
constantValueSet()
is true.boolean isConstant(Lang lang)
constantValueSet()
is true.java.lang.Object constantValue(Lang lang)
isConstant()
is true.