PsiMethod (PsiClass clazz) { final PsiMethod[] methods = clazz.getAllMethods(); for (PsiMethod method : methods) { if (method.hasModifierProperty(PsiModifier.PUBLIC) && method.hasModifierProperty(PsiModifier.STATIC) && AnnotationUtil.isAnnotated(method, "org.junit.runners.Parameterized.Parameters", 0)) { //todo check return value return method; } } return null; }