@Override
  public void visitTypeParameterList(@NotNull PsiTypeParameterList list) {
    PsiTypeParameter[] typeParameters = list.getTypeParameters();
    if (typeParameters.length > 0) {
      add(checkFeature(list, JavaFeature.GENERICS));
      if (!hasErrorResults()) add(GenericsHighlightUtil.checkTypeParametersList(list, typeParameters, myLanguageLevel));
    }
  }
@Override
  public void visitTypeParameterList(@NotNull PsiTypeParameterList list)