Interface Negatable

    • Method Detail

      • isNegatable

        boolean isNegatable​(ExpressionVisitor visitor)
        Check whether this specific instance of the expression is negatable
        Returns:
        true if it is
      • negate

        Expression negate()
        Create an expression that returns the negation of this expression
        Returns:
        the negated expression
        Throws:
        IllegalOperationException - if isNegatable() returns false