PsiMethod[] (PsiClass psiClass, String methodName) { MethodResolveProcessor processor = new MethodResolveProcessor(methodName); psiClass.processDeclarations(processor, ResolveState.initial(), null, psiClass); return processor.getMethods(); }