Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Retrieving fully qualified names of method and field signatures.
Retrieving fully qualified names of method and field signatures. [message #57146] Mon, 20 April 2009 11:13 Go to next message
Tamas-Selicean Domitian is currently offline Tamas-Selicean DomitianFriend
Messages: 10
Registered: July 2009
Junior Member
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 #57198 is a reply to message #57146] Mon, 20 April 2009 13:26 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
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
>
Re: Retrieving fully qualified names of method and field signatures. [message #57250 is a reply to message #57198] Mon, 20 April 2009 14:33 Go to previous message
Tamas-Selicean Domitian is currently offline Tamas-Selicean DomitianFriend
Messages: 10
Registered: July 2009
Junior Member
Hey Ben,
Thanks :)

Here's a link to the repost :
http://www.eclipse.org/newsportal/article.php?id=24323&g roup=eclipse.tools.jdt#24323
Re: Retrieving fully qualified names of method and field signatures. [message #595924 is a reply to message #57146] Mon, 20 April 2009 13:26 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
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
>
Re: Retrieving fully qualified names of method and field signatures. [message #595938 is a reply to message #57198] Mon, 20 April 2009 14:33 Go to previous message
Tamas-Selicean Domitian is currently offline Tamas-Selicean DomitianFriend
Messages: 10
Registered: July 2009
Junior Member
Hey Ben,
Thanks :)

Here's a link to the repost :
http://www.eclipse.org/newsportal/article.php?id=24323&g roup=eclipse.tools.jdt#24323
Previous Topic:highlight text
Next Topic:Error in exported product log
Goto Forum:
  


Current Time: Wed Jul 28 12:00:45 GMT 2021

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

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

Back to the top