Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMethod references
https://www.eclipse.org/forums/index.php/mv/msg/1100191/1810811/#msg_1810811
Yesterday I had posted a message regarding how to get the method references using ast. But till now I have not got any response.Could you please help me getting the things done. Actually in my application am taking a single file and making compilation unit out of that and doing some changes.
When am trying to get the parent the last am getting is package. But am not getting the Iproject. I want to get the method call references means where ever the method is invoked that class and line and column no. Could you please help me getting this. I tried to do with workspace. But again its hectic as I dont want to open another workspace instance and within the same instance I want to get from the compilation unit. Please help me getting the info. How the call hierarchy works in eclipse like that.
Thanks
susil kumar sahoo]]>susilkumar sahoo2019-08-20T06:38:11-00:00Re: Method references
https://www.eclipse.org/forums/index.php/mv/msg/1100191/1811073/#msg_1811073
Nitin Dahyabhai2019-08-26T13:44:43-00:00Re: Method references
https://www.eclipse.org/forums/index.php/mv/msg/1100191/1811168/#msg_1811168
Manoj N Palat2019-08-28T06:02:44-00:00Re: Method references
https://www.eclipse.org/forums/index.php/mv/msg/1100191/1811169/#msg_1811169
susilkumar sahoo2019-08-28T06:09:09-00:00Re: Method references
https://www.eclipse.org/forums/index.php/mv/msg/1100191/1811171/#msg_1811171
I dont have the problematic code. Am gonna develop something by using this method reference. So just wanted to know how can i get the method references across the project using AST. How eclipse is using the method references to get the call hierarchy or doing some changes where ever its used. I need that internal mechanism. can u please help me getting this.
Thanks
susil]]>susilkumar sahoo2019-08-28T06:30:15-00:00Re: Method references
https://www.eclipse.org/forums/index.php/mv/msg/1100191/1811245/#msg_1811245
I just need the internal mechanism how eclipse is getting the call hierarchy or doing some works related to reference. I just want to know the internal mechanism how can i get the reference of method by using ast framework.