void (@NotNull PsiTypeElement typeElement) { super.visitTypeElement(typeElement); final PsiType type = typeElement.getType(); final PsiClass psiClass = PsiUtil.resolveClassInType(type); if (psiClass instanceof PsiTypeParameter) { final int i = ArrayUtil.find(typeParameters, psiClass); if ( i >= 0 && i < toRemoveParms.length && toRemoveParms[i]) { supersMap.put(typeElement, psiClass.getSuperClass()); } } }