fullqualified name of method parameter

Hello,

i want to resolve the fullqualified name of a method parameter.

I got an object of Type IMethod.

With this object it is possible to retrieve an array of type String[] with the method "getParameterTypes()".

In the api-specification there is the hint for this method:

The type signatures may be either unresolved (for source types)

or resolved (for binary types), and either basic (for basic types)

or rich (for parameterized types). See {@link Signature} for details.

Is there a way that these parameter types are always resolved so that i can handle with the fullqualified names?

The goal is to construct a fullqualified methodname:

Example

package thepackage;

import anotherpackage.AnotherClass;

publicclass TheClass{

publicvoid foo(AnotherClass a, String b,int c){}

}

i would like to have a String like:

thepackage.TheClass.foo(anotherpackage.AnotherClass,java.lang.String,int)

[1357 byte] By [studentGERa] at [2007-10-3 3:20:57]
# 1
You are definitely not talking about Java core libraries. It sounds as if you're talking about eclipse JDT plugin development. You definitely should check the Eclipse documentation and/or the eclipse newsgroups for this.
JoachimSauera at 2007-7-14 21:13:11 > top of Java-index,Java Essentials,Java Programming...