String (Description description, Description parent, boolean acceptNull) { String methodName = myMethodNames.get(description); if (methodName == null) { methodName = JUnit4ReflectionUtil.getMethodName(description); if (methodName != null && (parent == null || !isParameter(parent))) { String shortName = getShortName(JUnit4ReflectionUtil.getClassName(description)); methodName = shortName.isEmpty() ? methodName : shortName + "/" + methodName; } if (!acceptNull && methodName == null && description.getChildren().isEmpty()) { methodName = getShortName(description.getDisplayName()); } myMethodNames.put(description, methodName); } return methodName; }