@Override
  public @NotNull Collection<? extends @NotNull PsiSymbolReference> getOwnReferences() {
    PsiElement parent = getParent();
    if (parent instanceof PsiSnippetAttribute) {
      PsiSnippetAttribute attribute = (PsiSnippetAttribute)parent;
      if (attribute.getName().equals(PsiSnippetAttribute.REGION_ATTRIBUTE)) {
        return Collections.singleton(JavaPsiImplementationHelper.getInstance(getProject())
                                       .getSnippetRegionSymbol(this));
      }
    }
    return super.getOwnReferences();
  }
@Override
  public @NotNull Collection<? extends @NotNull PsiSymbolReference> getOwnReferences()