public List<Expression> getExpressions(ClosureExpression expr) {
    return getExpressions(getStatements(expr));
  }
Returns the top-level expressions in the specified closure definition.
If no such expressions are found, an empty list is returned.

@param expr a ClosureExpression representing a closure definition
@return the top-level expressions in the specified closure definition
spock-core/src/main/java/org/spockframework/util/inspector/AstInspector.java