public class ExpressionUtils extends Object
Internal utility class for extracting a boolean expression from the given expression or statement.
Type Params | Return Type | Name and description |
---|---|---|
|
public static List<BooleanExpression> |
getBooleanExpression(ClosureExpression closureExpression) Returns all BooleanExpression instances found in the given ClosureExpression. |
|
public static BooleanExpression |
getBooleanExpression(List<BooleanExpression> booleanExpressions) |
|
public static List<BooleanExpression> |
getBooleanExpressionsFromAssertionStatements(BlockStatement blockStatement) Returns all BooleanExpression instances found in the given BlockStatement. |
Returns all BooleanExpression instances found in the given ClosureExpression.
Returns all BooleanExpression instances found in the given BlockStatement.