posted 7 years ago
I managed to learn ANTLR and I can work the examples and write my own grammars. But I want to work with Java source to create a UML reverse tool. I want to create a tree of packages with classes in packages and in each class a list of imports and methods and in each method the list of methods called. The problem is that I have not been able to determine which production involves a method call; I follow statement to block to blockStatement and I end up with expression but I can't find it. Maybe I am working with the wrong grammar.