Is there any way I can find the methods in a ClassOrInterface Declaration?
I'm using javaparser to read in source code which but when I read in multiple classes I have the problem of trying to attach which methods are attached to which classes.
Does anyone have any ideas how I can resolve this? Is there any sort of
class1.getMethods();
which would return a list of MethodDeclaration's that are in that class? Alternatively is there a way that I a MethodDeclaration can return the name of the Class that it is in?