@Override
  public void accept(ISpecVisitor visitor) throws Exception {
    visitor.visitMethod(this);
    for (Block b: getBlocks()) b.accept(visitor);
    visitor.visitMethodAgain(this);
  }
AST node representing a Spec method (one of fixture method, feature method, helper method).

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/compiler/model/Method.java