I am doing it on
refactoring. I have to design and implement an automated refactoring
tool to detect bad smells.
I need to set up JavaCC to parse through the Java Program to be
tested. I have downloaded the JavaCC and used a Java grammar I found
on the net to get the parser. I have now got JavaParser.java , im not
sure where to go from here.
To start off I just want to be able to count and list the classes in
the program.
Please help me. How do I configure the JavaCC to do this or how do I
do this