If I understood the question, javadoc and doclets may help you.

HTH,

Tedi

-----Mensagem original-----
De: Ken Lai [mailto:[EMAIL PROTECTED]]
Enviada em: Wednesday, October 09, 2002 1:06
Para: JDJList
Assunto: [jdjlist] Java source code parser?


I've been looking on the web but couldn't seem to
find a parser that would create a java model
(Class, method, field etc). Basically I want to
use a java source file as an input, and the
parser would return some sort of model for me to
retrieve information about the class, package,
methods, fields etc.

The closest thing I've found is the Eclipse
project's JDT core, but I'm not sure if I
can/allowed to use the library without running
the Eclipse runtime.

Another option I'm looking at is the JavaCC,
which I would have to manually add in my own
actions in the grammar to get the information (a
bit too low level).

Anyone used something like this before
(preferrably open source)? What was your
experience like?

Thanks in advance.

=====
Ken Lai
***** End of Message ******

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to