[Soot-list] Some Problem use Jimple to create class from scrap
Eric Bodden
eric.bodden at mail.mcgill.ca
Mon Dec 15 08:24:14 EST 2008
Hi Jian.
> Yes, it seems A not B as the bytecode generated by javac. I wonder is this
> the right style?
Yes it is. B has not getName() method, so A.getName() is the only such
method that you can call at this point. You may want to read up about
the concept of virtual method calls and the invokevirtual bytecode.
Eric
--
Eric Bodden
Sable Research Group, McGill University
Montréal, Québec, Canada
More information about the Soot-list
mailing list