public PsiReference @NotNull [] getContributedReferences(final @NotNull PsiElement element) {
    final List<PsiReference> list = getReferences(element, Hints.NO_HINTS);
    return list.toArray(PsiReference.EMPTY_ARRAY);
  }
public PsiReference @NotNull [] getContributedReferences(final @NotNull PsiElement element)