@Override
  public boolean isReferenceTo(@NotNull PsiElement element) {
    if (!(element instanceof GrParameter || element instanceof GrTypeParameter)) return false;
    return getManager().areElementsEquivalent(element, resolve());
  }
@Override
  public boolean isReferenceTo(@NotNull PsiElement element)