how to get info using ast parser
i want to get info from every class of a .java file so that i can save in a structure (maybe a list) the met开发者_JS百科hods that every method of every class calls. Can anyone help me? thanx!
ANTLR can generate a lexer/parser that will give you an AST. It has Java grammars ready to go, too.
精彩评论