i want to find all the declaration of java class in a java file e.g. public class myclass/ class myclass etc.
And i also want to find out all the functions declaration with or without parameters in java file e.g. public int fun1() / int fun2(int a, int b)
I don't want to consider curly braces in any of the above cases.
Any help will be highly appreciated.