@Override
  public int getTypeParameterIndex(PsiTypeParameter typeParameter) {
    //noinspection SuspiciousMethodCalls
    return myTypeParameters.indexOf(typeParameter);
  }
@Override
  public int getTypeParameterIndex(PsiTypeParameter typeParameter)