Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Avoid repetitive documentation for generated getters and setters
Avoid repetitive documentation for generated getters and setters [message #238556] Sun, 03 December 2006 15:26 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
/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
Previous Topic:markerImageProvider
Next Topic:APT: reconcile time type generation now active in 3.3M4
Goto Forum:
  


Current Time: Mon Jun 09 07:51:12 EDT 2025

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top