How can I use the @link
tag to link to a method?
I want to change:
/**
* Returns the Baz object owned by the Bar object owned by Foo ow
You will find much information about JavaDoc at the Documentation Comment Specification for the Standard Doclet, including the information on the
{@link package.class#member label}
tag (that you are looking for). The corresponding example from the documentation is as follows
For example, here is a comment that refers to the getComponentAt(int, int) method:
Use the {@link #getComponentAt(int, int) getComponentAt} method.
The package.class
part can be ommited if the referred method is in the current class.
Other useful links about JavaDoc are: