public Statement getStatement(String name) {
    return getNode(statements, name);
  }
Returns the first statement found immediately preceded by a label with the
specified name.

@param name the name of the label immediately preceding the statement of
interest
@return the first statement found immediately preceded by a label with the
specified name
spock-core/src/main/java/org/spockframework/util/inspector/AstInspector.java