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
1 month, 2 weeks
I have to restart forge after insalling an addon.
by Eric J. Van der Velden
I install the arquillian-addon by doing,
addon-install-from-git --url https://github.com/forge/arquillian-addon.git.
Then I should see in forge the command arquillian-setup. But I have to
restart forge to see this command. Is this true and is there another way?
Also in forge there is a list of addons. But this addon is not in that
list, but is in my local git repo anf forge somehow sees is. Is this true?
5 years, 8 months