String (final PsiParameter psiParameter, final PsiMethod method) { final int index = method.getParameterList().getParameterIndex(psiParameter); final PsiMethod[] superMethods = method.findSuperMethods(); for (PsiMethod superMethod : superMethods) { final PsiParameterList superParameters = superMethod.getParameterList(); if (index < superParameters.getParametersCount()) { return superParameters.getParameters() [index].getName(); } } return null; }