[Soot-list] Get java.reflection.Method from SootMethod object?

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Tue Jan 26 02:51:59 EST 2010


Hello Sai.

This should not actually be that hard. You just have to take a
Classloader and then load the appropriate Class object via
Classloader.loadClass(..). Then you use the normal reflection API.

Eric

--
Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt



2010/1/25 Sai Zhang <racezhang at gmail.com>:
> Hi All:
>
> I am wondering is it possible to get a java.reflection.Method object from a
> SootMethod object?
>
> I look at the source code of SootMethod class, and find it seems to be
> difficult...
>
> Any suggestion will be highly appreciated.
>
> Thanks
>
> -Sai
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>


More information about the Soot-list mailing list