Retrieving fully qualified names of method and field signatures. [message #259633] |
Mon, 20 April 2009 10:29  |
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.
As I know, the Java Model is not as resource consuming as the AST, so 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 or actually what
would be the best way to retrieve the fully qualified names?
Thanks and best regards,
Domi
|
|
|
|
Powered by
FUDForum. Page generated in 0.02693 seconds