Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » How to get method bindings?
How to get method bindings? [message #68921] Thu, 14 December 2006 17:53 Go to next message
Eclipse UserFriend
Originally posted by: m.bartsch.rdg.ac.uk

Hi,

I wrote an AjASTVisitor that visits a MethodInvocation node and I would like to determine the static
type of the class or aspect that receives the method invocation. I tried resolveMethodBinding() and
so on but I could not find a solution so far. Is this possible at all?

Thanks for any help on this,

Marc.
Re: How to get method bindings? [message #68942 is a reply to message #68921] Fri, 15 December 2006 09:10 Go to previous messageGo to next message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
Marc Bartsch wrote:
> Hi,
>
> I wrote an AjASTVisitor that visits a MethodInvocation node and I would
> like to determine the static type of the class or aspect that receives
> the method invocation. I tried resolveMethodBinding() and so on but I
> could not find a solution so far. Is this possible at all?
>
> Thanks for any help on this,
>
> Marc.

You could be hitting a variant of this problem we haven't fixed yet:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=146528

Andy.
Re: How to get method bindings? [message #68962 is a reply to message #68942] Mon, 18 December 2006 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: m.bartsch.rdg.ac.uk

Hi Andy,

Thanks a lot for your help. Is there any other way to obtain method bindings at all?

Best wishes,

Marc.

Andy Clement schrieb:
> Marc Bartsch wrote:
>> Hi,
>>
>> I wrote an AjASTVisitor that visits a MethodInvocation node and I
>> would like to determine the static type of the class or aspect that
>> receives the method invocation. I tried resolveMethodBinding() and so
>> on but I could not find a solution so far. Is this possible at all?
>>
>> Thanks for any help on this,
>>
>> Marc.
>
> You could be hitting a variant of this problem we haven't fixed yet:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=146528
>
> Andy.
Re: How to get method bindings? [message #595581 is a reply to message #68921] Fri, 15 December 2006 09:10 Go to previous message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
Marc Bartsch wrote:
> Hi,
>
> I wrote an AjASTVisitor that visits a MethodInvocation node and I would
> like to determine the static type of the class or aspect that receives
> the method invocation. I tried resolveMethodBinding() and so on but I
> could not find a solution so far. Is this possible at all?
>
> Thanks for any help on this,
>
> Marc.

You could be hitting a variant of this problem we haven't fixed yet:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=146528

Andy.
Re: How to get method bindings? [message #595592 is a reply to message #68942] Mon, 18 December 2006 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: m.bartsch.rdg.ac.uk

Hi Andy,

Thanks a lot for your help. Is there any other way to obtain method bindings at all?

Best wishes,

Marc.

Andy Clement schrieb:
> Marc Bartsch wrote:
>> Hi,
>>
>> I wrote an AjASTVisitor that visits a MethodInvocation node and I
>> would like to determine the static type of the class or aspect that
>> receives the method invocation. I tried resolveMethodBinding() and so
>> on but I could not find a solution so far. Is this possible at all?
>>
>> Thanks for any help on this,
>>
>> Marc.
>
> You could be hitting a variant of this problem we haven't fixed yet:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=146528
>
> Andy.
Previous Topic:How to get method bindings?
Next Topic:Detailed aspect info from AJDT parser
Goto Forum:
  


Current Time: Fri Dec 19 21:44:25 GMT 2014

Powered by FUDForum. Page generated in 0.01643 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software