void (@NotNull PsiMethod superMethod, PsiParameter[] parameters) { if (m_ignoreOverridesOfLibraryMethods) { final PsiClass containingClass = superMethod.getContainingClass(); if (containingClass != null && LibraryUtil.classIsInLibrary(containingClass)) { return; } } final PsiParameterList superParameterList = superMethod.getParameterList(); final PsiParameter[] superParameters = superParameterList.getParameters(); for (int i = 0; i < parameters.length; i++) { final PsiParameter parameter = parameters[i]; final PsiParameter superParameter = superParameters[i]; final String superParameterName = superParameter.getName(); if (superParameterName.equals(parameter.getName())) { continue; } if (m_ignoreSingleCharacterNames && superParameterName.length() == 1) { continue; } if (!parameter.getType().equals(superParameter.getType())) { continue; } registerVariableError(parameter, superParameterName, SUPER_METHOD); } }