void (Description description) { final String className = JUnit4ReflectionUtil.getClassName(description); final String methodName = JUnit4ReflectionUtil.getMethodName(description); if (myJunitListener instanceof IDEAJUnitListenerEx) { ((IDEAJUnitListenerEx)myJunitListener).testFinished(className, methodName, mySuccess); } else { myJunitListener.testFinished(className, methodName); } }