I want to extract this information from a java file:
1- Name of class and its fields variables
2- Name of methods and its parameters
3- List of local variables in a method
I know there is a general purpose library named ANTLR that is used for the parsing stuff, but it is too coarse and low level parser? Do you have any idea of a library ( may be wrapper ANTLR ) that helps me to extract the above mentioned information from a java file.