I am trying to parse Java source to get the method names, their invocations, variable names, etc. I was looking for a pre-built or extensible module in Python and stumbled upon plyj (https://github.com/musiKk/plyj). I want to find out a method, then get the method's code and do some string processing on it based on some conditions. But I am not able to figure out its usage, the example is too vague. Can anyone point me to a good usage example?
Also, if you can let me know if antlr3 (https://github.com/antlr/antlr3) is more usable or not (with example), as I am new to these modules and do not know which one to go with. I have no performance issues, I just want to compare them based on functionalities and ease of use.
Thanks!