code: @Override
      public void interceptCleanupSpecMethod(IMethodInvocation invocation) throws Throwable {
          Class<?> specClass = invocation.getSpec().getReflection();
          log.fine("afterClass " + specClass.getName());
          getTestRunner().afterClass(specClass, new InvocationExecutor(invocation));
      }
docs: /* (non-Javadoc)
  @see org.spockframework.runtime.extension.AbstractMethodInterceptor#interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation)