Raw AST nodes do not contain links between them, for example. from using a variable to declaring it, or from calling a method back to declaring a method. A MethodInvocation object can be checked for a method name, but you cannot immediately find out which method calls the class. this requires an analysis of the scope.
. IBinding AST, , . Declaration AST node MethodInvocation AST node CompilationUnit.findDeclaringNode(methodInvocationNode.resolveMethodBidning().getKey())
CompilationUnit.findDeclaringNode(method.getKey()), , AST node , IMethod.
MethodInvocation.resolveBinding().getKey() ==
MethodDeclaration.resolveBinding().getKey() ==
IMethod.getKey()