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

Here is a list of grammars available

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  ?








Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Jython-users mailing list