@Override
  public int getTypeParameterIndex(PsiTypeParameter typeParameter) {
    assert typeParameter.getParent() == this;
    return PsiImplUtil.getTypeParameterIndex(typeParameter, this);
  }
@Override
  public int getTypeParameterIndex(PsiTypeParameter typeParameter)