boolean (Description description) { if (description.isTest()) { final Set<String> methods = classMethods.get(JUnit4ReflectionUtil.getClassName(description)); if (methods == null) { return true; } String methodName = JUnit4ReflectionUtil.getMethodName(description); if (methods.contains(methodName)) { return true; } if (programParameters != null) { return methodName.endsWith(programParameters) && methods.contains(methodName.substring(0, methodName.length() - programParameters.length())); } final Class<?> testClass = description.getTestClass(); if (testClass != null) { final RunWith classAnnotation = testClass.getAnnotation(RunWith.class); if (classAnnotation != null && isParameterized(methodName, testClass)) { final int idx = methodName.indexOf("["); if (idx > -1) { return methods.contains(methodName.substring(0, idx)); } } } return false; } return true; }