PsiMethod (PsiClass clazz) { final PsiMethod[] suiteMethods = clazz.findMethodsByName(SUITE_METHOD_NAME, false); for (PsiMethod method : suiteMethods) { if (isSuiteMethod(method)) return method; } return null; }