PsiMethod (String className, String methodName) { PsiClass anInterface = myJavaFacade.findClass(className, GlobalSearchScope.allScope(myProject)); return anInterface.findMethodsByName(methodName, false)[0]; }