Bug 464681 - [aa] @Accessors - Copy field Javadoc to getter and setter
Summary: [aa] @Accessors - Copy field Javadoc to getter and setter
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.9.0   Edit
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-15 08:15 EDT by Dennis Huebner CLA
Modified: 2017-09-13 15:31 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Huebner CLA 2015-04-15 08:15:56 EDT
At the moment there is no way to write public visible Javadoc for a private field annotated with @Accessors.
It would be nice, if @Accessors would also copy field's javadoc to generated getter and setter.
Comment 1 Sebastian Zarnekow CLA 2015-04-15 08:27:32 EDT
It would need to be copied and modified, e.g. the field description could be used in the @return of a getter and @param of the setter.
Comment 2 Dennis Huebner CLA 2015-04-15 10:02:48 EDT
For me personally, it would be enough to see the getter/setter neutral field javadoc.
It must not have @return/@param in a first draft.