@Override
  public @Nullable PsiSnippetAttribute getAttribute(@NotNull String name) {
    for (PsiElement child = getFirstChild(); child != null; child = child.getNextSibling()) {
      if (child instanceof PsiSnippetAttribute && ((PsiSnippetAttribute)child).getName().equals(name)) {
        return (PsiSnippetAttribute)child;
      }
    }
    return null;
  }
@Override
  public @Nullable PsiSnippetAttribute getAttribute(@NotNull String name)