UMLGraph 中的注释和注释有其他选择吗
我正在使用 UMLGraph for Java 到 UML。它在关系文档中说明了以下内容:
关联关系(使用 javadoc @assoc 标签指定)
可导航(定向)关联关系(使用 javadoc @navassoc 标签指定)
聚合关系(使用 javadoc @has 标签指定)
组合关系(指定)使用 javadoc @composed 标签)
依赖关系(使用 javadoc @depend 标签指定)
我无法在源代码中添加这些标签或任何注释。有没有其他选择
I am using UMLGraph for Java to UML. It says the following in documentation for relationships:
association relationships (specified using the javadoc @assoc tag)
navigatable (directed) association relationships (specified using the javadoc @navassoc tag)
aggregation relationships (specified using the javadoc @has tag)
composition relationships (specified using the javadoc @composed tag)
dependency relationships (specified using the javadoc @depend tag)
i cannot add these tags or any comments in the source. Is there any alternative for this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用常用模板来配置 UmlGraph,那么您可能使用的是旧版本。
我在通常的 Maven 存储库中找不到 doclet。我建议您下载最新版本,然后手动将其部署到存储库管理器。您可以从这里下载:http://www.umlgraph.org/download.html
一次你已经部署了它,使用这个:
If you're using the commonly available template for configuring UmlGraph, then you're probably using an old version.
I can't find the doclet in the usual maven repositories. I suggest you download the latest version and just deploy it manually to your repository manager. You can download it from here: http://www.umlgraph.org/download.html
Once you've deployed it, use this:
如果您在与 Java 8 兼容的最新快照版本中使用 Java 8 和 UMLGraph,由于 Javadoc doclint 。所以这种情况需要额外的参数:参见belove。
In you are using Java 8 and UMLGraph in its latest snapshots version compatible with Java 8, requires extra configuration due to changes in Javadoc doclint. So this case it requires extra parameters: See belove.