简体   繁体   中英

set javadoc to print where a method is called?

Im deconstructing a project. Is there a way to tell javadoc to print a listing of where a method is called?

Meaning in its description of a method, you have the normal javadoc stuff, but is there a way to tell it to put a line below that which would say "Called By: X, Y, Z"? I seem to remember that in some obscure javadocs in the past, i just don't remember where and how anymore. I can't find a setting as of yet so if its possible, im assuming it would be a doclet tool of some kind.

This is not possible with javadoc. http://www.jdocs.com/ shows usage for some public APIs, but this isn't clearly isn't what you're looking for. I'd recommend setting up the code as a project in an IDE such as Eclipse or IDEA and find references from there.

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