Javadoc: @include taglet

S

setar

Does anybody know how to implement an "@include" taglet? I want to
include field comments in theirs getters. For example the getName()
getter of this class:

public class Person {
/** Field stores person name. Person name cannot be null. ... */
private String name;

/** Returns value of person name field. {@include #name} */
public String getName() {
return text;
}
}

should be documented by Javadoc in this way:

"Returns value of person name field.
Field stores person name. Person name cannot be null. ..."

I tried to implement it myself but I didn't manage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top