@Override
  public PsiSnippetAttribute @NotNull [] getAttributes() {
    PsiSnippetAttribute[] children = PsiTreeUtil.getChildrenOfType(this, PsiSnippetAttribute.class);
    if (children == null) return PsiSnippetAttribute.EMPTY_ARRAY;
    return children;
  }
@Override
  public PsiSnippetAttribute @NotNull [] getAttributes()