Interface IConstantEvaluationResult<T>

  • All Known Implementing Classes:
    BooleanResult

    public interface IConstantEvaluationResult<T>
    Represents a result of the 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.
    • 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()