@Override
  public ELEMENT_TYPE generate(@Nullable DomElement parent, Editor editor) {
    if (parent == null) return null;
    return doGenerate((MavenDomProjectModel)parent, editor);
  }
@Override
  public ELEMENT_TYPE generate(@Nullable DomElement parent, Editor editor)