Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] a question for IType

Hi
why you don't use the dynamic compiler to get the return method back and real class, whether you can use aspect J which is a java extension that can help you on run time
kindly regards
Omid

On Fri, Nov 28, 2008 at 10:21 AM, serfire wang <serfire@xxxxxxxxx> wrote:




Hi

I want to judge whether the Class of the return type of a method in source code editor is java.util.Map .

I can get the the selected method , that is a IMethod type.

but in IMethod , there is maybe only one available method : IMethod.getReturnType()

this method just return a String , how can I get the real class from a IMethod instance. 

thanks a lot




_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev




--
Omid G
Software Engineering (PhD candidate)
Information Technology (M.Sc.)
Electronic Engineer (B.Sc)

Back to the top