@Override
  public @Nullable T generate(final Project project, final Editor editor, final PsiFile file) {
    return generate(getParentDomElement(project, editor, file), editor);
  }
@Override
  public @Nullable T generate(final Project project, final Editor editor, final PsiFile file)