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.
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.