String (Description description, String className, String methodName) { Collection<? extends Annotation> annotations = description.getAnnotations(); String spockAwareName = methodName; for (Annotation annotation : annotations) { if (annotation instanceof FeatureMetadata) { spockAwareName = ((FeatureMetadata)annotation).name(); } } return JUnitTestTreeNodeManager.JAVA_NODE_NAMES_MANAGER.getTestLocation(description, className, spockAwareName); }