public List<Expression> getExpressions(MethodNode node) {
    return getExpressions(getStatements(node));
  }
Returns the top-level expressions in the specified method or constructor.
If no such expressions are found, an empty list is returned.

@param node a MethodNode representing a method or constructor
@return the top-level expressions in the specified method or constructor
spock-core/src/main/java/org/spockframework/util/inspector/AstInspector.java