@Override
  public ThenBlock getNext() {
    return (ThenBlock)super.getNext();
  }
AST node representing a when-block in a feature method.

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