Hi,
I'm using ws-jaxme-0.5.2, and specifically the Java Source API.
What I'm trying to do is to parse an existing java source file and add
a costructor. So I began parsing the class and then writing it out again
to see the results.
Looking at the output I noticed that the methods bodies got lost.
Here is a fragment of my code:
File f = new File(file);
JavaSourceFactory jsf = new JavaSourceFactory();
JavaParser jp = new JavaParser(jsf);
jp.parse(f);
System.out.println(js);
Did I do something wrong?
Thanks,
Carlo
Le informazioni contenute in questo messaggio sono riservate e confidenziali ed
è vietata le diffusione in qualunque modo eseguita. Qualora Lei non fosse la
persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a
non leggerlo, dandocene gentilmente comunicazione. Per qualsiasi informazione
si prega di contattare ([email protected]). Rif. D.L. 196/2003
This e-mail (including attachments) is intended only for the recipient(s) named
above. It may contain confidential or privileged information and should not be
read, copied or otherwise used by any other person. If you are not the named
recipient, please contact ([email protected]) and delete the e-mail from
your system. Rif. D.L. 196/2003.