Can I use JDT search engine while parsing a source from JDT AST
问题 I'm using JDT AST to parse a given source. I want to find the references of a given object/variable when it triggers the relavant visitor when using AST. E.g.: Consider the following code: public class SampleClass { public void printMe(){ System.out.println("hello"); } public static void main(String a[]){ SampleClass s =new SampleClass(); // do some other work s.printMe(); } } When I'm parsing the above code, when it comes to the variable declaration of "s", it will call the visitor method of