Hi
Im using the ASTVisitor class to iterate through the AST of my project.
I have a method call like:
MyClass mc = new MyClass();
mc.makeCall();
In my visitor I have:
public boolean visit(MethodInvocation miNode) {
// How do I get the name "MyClass" for the method incovation of
"makeCall()"?
return true;
}
How do I get the name "MyClass" for the method incovation of
"makeCall()"?
"miNode.resolveTypeBinding()" returns null. :/
I have set resolve bindings to true:
ASTParser p = ASTParser.newParser(AST.JLS3);
p.setResolveBindings(true);
Maybe someone can help me out?
Cheers
_________________________________________________________________
Fräscha middagstips på MSN http://arla.msn.se/
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-ui-dev