@Override public void visitTypeElement(final @NotNull PsiTypeElement typeElement) {
        super.visitTypeElement(typeElement);
        if (typeElement.getType() instanceof PsiClassType classType && classType.resolve() instanceof PsiTypeParameter typeParameter) {
          checkReplaceTypeParameter(typeElement, typeParameter);
        }
      }
@Override public void visitTypeElement(final @NotNull PsiTypeElement typeElement)