You could have a look at Antlr. It is a parser generator for java. They have grammars for java available for download.

http://www.antlr.org/
http://www.antlr.org/download.html
http://www.antlr.org/doc/index.html

Here is a list of grammars available
http://www.antlr.org/grammar/list

On 18-Dec-06, at 3:44 PM, Divya Prakash wrote:

Hello ,

 

 I would like to parse ". java "  /   “.class”   files and detect class name's, attributes  name's and type's (and or list of methods).

        Is there any module who can parse easily a java file using jython  ?

 

 

 

Regards

 

Divya

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users