i'm looking for source code parsers written in java.
My application searches github for data structures with a given name. If that strucure is a class (or something similar), I need the attributes and methods (with body) of it. It should also work with nested classes.
I already found a good parser for java (https://github.com/antlrjavaparser/antlr-java-parser), but I like/need to do this with java, ruby, c, c#, c++, python and php sourcecode files.
I already tried ANTLR (Version 3.5), but I just found grammars for java and c, and I'm not realy sure how to use the *Lexer and *Parser classes.