Avoid repetitive documentation for generated getters and setters [message #238556] |
Sun, 03 December 2006 15:26  |
Eclipse User |
|
|
|
Originally posted by: anthony.whitford.com
When writing classes, I generally start with defining the private fields,
then will use Eclipse to generate the public getters and setters. I like to
Javadoc each field, but that Javadoc then needs to be repeated two more
times (get and set).
My problem is that the generated documentation for the getters and setters
are very basic, and since the fields are private, we don't see the field
level documentation on the JavaDoc results. Is there a way to configure
Eclipse to integrate the field documentation into the getter and setter
documentation? (I do see how I can change the code templates, but didn't
see a reference to the field level documentation.)
(FWIW, this post is inspired from a thread on the Java forums:
http://forums.java.net/jive/thread.jspa?threadID=20689&t start=0 )
|
|
|
Re: Avoid repetitive documentation for generated getters and setters [message #238767 is a reply to message #238556] |
Sun, 10 December 2006 07:19  |
Eclipse User |
|
|
|
/Anthony Whitford/:
> Is there a way to configure
> Eclipse to integrate the field documentation into the getter and setter
> documentation? (I do see how I can change the code templates, but didn't
> see a reference to the field level documentation.)
I don't think it is currently possible. You could open a request
for enhancement in Bugzilla for that (post back the bug # if you do so).
--
Stanimir
|
|
|
Powered by
FUDForum. Page generated in 0.03099 seconds