简体   繁体   中英

Javadoc: link to package-info

I'm using package-info.java files in my javadoc. I'm trying to link from classes contained in a package to the package-info of the very same package. I have tried several options inspired by this Oracle document .

For example, the package is:

com.zombo.apps.api.stream

I'm inside com.orcsoftware.apps.api.stream.someClass and am writing

@see com.zombo.apps.api.stream.package-info

The link doesn't get rendered in the javadoc. How can I link to the package-info?

如果您删除.package-info它应该可以很好地工作:

@see com.zombo.apps.api.stream

对于那些想要在不使用@see标签的情况下引用包信息的人: {@link com.zombo.apps.api.stream}也适用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM