//
Class current = cls;
while(!(current == Object.class)) {
Method[] allMethods = current.getDeclaredMethods();
for(Method allMethod : allMethods) {
ITestNGMethod m = new TestNGMethod(/* allMethods[i].getDeclaringClass(), */ allMethod,
m_annotationFinder, null,
null); /* @@@ */
Method method = m.getMethod();
String methodName = method.getName();
if(filter.accept(method) && !acceptedMethodNames.contains(methodName)) {
// if (m.getName().startsWith("test")) {
// ppp("Found JUnit test method: " + tm);
vResult.add(m);