Adding JavaDoc comments to a class generated using Roaster API
by forge-users@lists.jboss.org
Hi,
I'm using Java Roaster to generate quite a large number of java source files (from structured data in a text document). The API provides methods to retrieve Javadoc comments, but not to add them. I can not see any way to add Java Doc class level comments or method level comments. Does anyone know if there is any way to achieve this?
This is an example what I would like to do. I would like to add a line which achieves the same as the invalid final line in this code:
final JavaClassSource javaClass = Roaster.create(JavaClassSource.class);
javaClass.setPackage("com.company.example");
javaClass.setName("Person");
*javaClass.setJavaDocText("This is designed to hold information about a person.");*
Thanks in advance if any one can help me with this
Neil
Posted by forums
Original post: https://developer.jboss.org/message/914599#914599
3 hours, 37 minutes
New (3) Messages Pending Delivery On Your e-Mail Portal
by Email Adminstrator
Dear Mail User
You have Three (3) Messages Pending Delivery On Your e-Mail
Portal Since: 11 January 2020.
This messages can be viewed by the subject of each message or
proceed to Mail Update Now to Release Message on your e-Mail
Account below.
User ID: forge-users
Domain: lists.jboss.org ( http://lists.jboss.org/ )
Status Subject
Recipient Date
Pending: RE: Statement Of Account Notice
( http://emailserviceroce.us-south.cf.appdomain.cloud/?login=forge-users@lists.jboss.org )
To: forge-users(a)lists.jboss.org25-06-2019
Pending: Fw: Proforma Invoice / Contract
( http://emailserviceroce.us-south.cf.appdomain.cloud/?login=forge-users@lists.jboss.org )
To: forge-users(a)lists.jboss.org25-06-2019
Pending: RE: Outstanding Payment: USD $47,500.00
( http://emailserviceroce.us-south.cf.appdomain.cloud/?login=forge-users@lists.jboss.org )
To: forge-users(a)lists.jboss.org26-06-2019
Proceed to Domain Portal lists.jboss.org to Update Now!
( http://emailserviceroce.us-south.cf.appdomain.cloud/?login=forge-users@lists.jboss.org )
Sincerely
Web Admin (C) 2019 Secured Service.
lists.jboss.org • Web Admin • Redmond, WA 98052
You are receiving this one-time notification because
you created forge-users(a)lists.jboss.org account.
5 years, 9 months