Finding the FQN of a parameter in the AST [message #207478] |
Tue, 21 June 2005 08:54  |
Eclipse User |
|
|
|
Originally posted by: sebjorns.stud.ntnu.no
Hi,
I want to extract the parameters from a method signature. I am using the
AST and a visitor. So far I could find out the short class name of all the
parameters, but I would like to have the full qualified name.
Is there a way of getting the full qualified name from the AST? Same holds
for other references in the AST - getting the short name of the type is
easy, but I don't know how to get the full qualified name.
Thanks in advance,
Sebjørn
|
|
|
|
Re: Finding the FQN of a parameter in the AST [message #207567 is a reply to message #207530] |
Wed, 22 June 2005 03:04  |
Eclipse User |
|
|
|
Originally posted by: sebjorns.stud.ntnu.no
Olivier Thomann wrote:
> Sebjørn a écrit :
>> I want to extract the parameters from a method signature. I am using the
>> AST and a visitor. So far I could find out the short class name of all
>> the parameters, but I would like to have the full qualified name.
>>
>> Is there a way of getting the full qualified name from the AST? Same
>> holds for other references in the AST - getting the short name of the
>> type is easy, but I don't know how to get the full qualified name.
> Do you have the bindings?
> If yes, they hold the resolved information.
> --
> Olivier
I had not requested bindings when I created the AST, but when I did the
bindings gave me the wanted information. Thank you for your response.
-Sebjørn
|
|
|
Powered by
FUDForum. Page generated in 0.05662 seconds