Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Add javadoc to @Accessors
Add javadoc to @Accessors [message #1772599] Tue, 12 September 2017 22:47 Go to next message
Waqas Ilyas is currently offline Waqas IlyasFriend
Messages: 80
Registered: July 2009
Member
Can one add javadoc to the generated getters and setters when @Accessors is used?

I am writing a fragment and want some javadoc to be visible in the mwe2 editor for properties of my fragment. Is that possible?
Re: Add javadoc to @Accessors [message #1772610 is a reply to message #1772599] Wed, 13 September 2017 04:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
you would need to write your own accessors active annotation
or having https://bugs.eclipse.org/bugs/show_bug.cgi?id=464681 fixed

or you simply write the setter/getter manually


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Add javadoc to @Accessors [message #1772685 is a reply to message #1772610] Wed, 13 September 2017 20:17 Go to previous message
Waqas Ilyas is currently offline Waqas IlyasFriend
Messages: 80
Registered: July 2009
Member
Thanks for the info. I put my vote in for the bug, this annotation would be more useful if we can specify even generic (not getter or setter specific) javadoc
Previous Topic:FYI: Eclipse tooling features have to be updated for Xtext 2.13.0-SNAPSHOT
Next Topic:Partial Parsing Problem
Goto Forum:
  


Current Time: Tue Mar 19 11:30:40 GMT 2024

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

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

Back to the top