@Override
  public int getTypeParameterCount() {
    PsiReferenceParameterList parameterList = getParameterList();
    return parameterList != null ? parameterList.getTypeArgumentCount() : 0;
  }
@Override
  public int getTypeParameterCount()