Re: Getting the return value of a method
Dave Brosius <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Well, any return value will be on the top of the stack when the method returns in A. So depending on the type of the return value, you can store it in register with ASTORE, ISTORE, DSTORE, etc, etc depending on type, or store it in a field PUTFIELD or do what ever you want with it. Hopefully this is what you are asking. On 08/29/2010 12:45 AM, Nemo Caviani wrote: > Hi all, > > I am trying to get the returned object of a method from its calling > method. Say if A calls B and B returns an object, I wonder if there is > any way for me to pop up the object that B puts on top of the stack > when I am mining the bite code for A. If so, which method is the > correct one to use, and if not what should I do? > > thanks, > Nemo
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws