Retrieving fully qualified names of method and field signatures. [message #57146] |
Mon, 20 April 2009 07:13  |
Eclipse User |
|
|
|
Hello all :)
I'm parsing a Java Project using the Java Model. I get to method and field
declarations and I have encountered a problem. Using the following methods:
IMethod#getSignature
IMethod#getExceptionTypes
IField#getTypeSignature
I get the simple type names for source types and resolved for binary
types. Now I want to have the fully qualified names for all the types,
regardless if they are source types or binary types.
I would like to know if it's possible in any way, based on the Java Model,
to get the fully qualified names of the types in the signature. If no,
what alternatives do I have other than parsing the AST ?
Thanks and best regards,
Domi
|
|
|
|
|
Re: Retrieving fully qualified names of method and field signatures. [message #595924 is a reply to message #57146] |
Mon, 20 April 2009 09:26  |
Eclipse User |
|
|
|
You may want to post this question to the eclipse.tools.jdt group.
Cheers,
Ben
Tamas-Selicean Domitian wrote:
> Hello all :)
>
> I'm parsing a Java Project using the Java Model. I get to method and
> field declarations and I have encountered a problem. Using the following
> methods:
>
> IMethod#getSignature
> IMethod#getExceptionTypes
> IField#getTypeSignature
>
> I get the simple type names for source types and resolved for binary
> types. Now I want to have the fully qualified names for all the types,
> regardless if they are source types or binary types.
>
> I would like to know if it's possible in any way, based on the Java
> Model, to get the fully qualified names of the types in the signature.
> If no, what alternatives do I have other than parsing the AST ?
>
> Thanks and best regards,
> Domi
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.06672 seconds