Interface IConstantEvaluationResult<T>
-
- All Known Implementing Classes:
BooleanResult
public interface IConstantEvaluationResult<T>Represents a result of theConstantExpressionValidator. 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 beOptional.absent()if it was computed to be the literal valuenull.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.base.Optional<T>getValue()Returns the optional computation result.booleanisCompileTimeConstant()
-
-
-
Method Detail
-
getValue
com.google.common.base.Optional<T> getValue()
Returns the optional computation result. If the result is null, no value could be computed.
-
isCompileTimeConstant
boolean isCompileTimeConstant()
-
-