Reputation: 59
i want to get info from every class of a .java file so that i can save in a structure (maybe a list) the methods that every method of every class calls. Can anyone help me? thanx!
Upvotes: 1
Views: 333
Reputation: 308763
ANTLR can generate a lexer/parser that will give you an AST. It has Java grammars ready to go, too.