public interface IConstantEvaluationResult<T>
ConstantExpressionValidator
.
It carries the information if the result is a constant expression and
it may also have information about the computed value of an expression.
The value may be null, which indicates that it could not be computed. Or it may be
Optional.absent()
if it was computed to be the literal value null
.Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<T> |
getValue()
Returns the optional computation result.
|
boolean |
isCompileTimeConstant() |
com.google.common.base.Optional<T> getValue()
boolean isCompileTimeConstant()