AndExpression
, BooleanExpression
, BooleanFn
, NotFn
, OrExpression
, ValueComparison
public interface Negatable
Modifier and Type | Method | Description |
---|---|---|
boolean |
isNegatable(ExpressionVisitor visitor) |
Check whether this specific instance of the expression is negatable
|
Expression |
negate() |
Create an expression that returns the negation of this expression
|
boolean isNegatable(ExpressionVisitor visitor)
Expression negate()
IllegalOperationException
- if isNegatable() returns false