how to let asm compute frame automatically?
lucefe <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I want to let asm compute frame for me.
I use the tree API to instrument a file, the code is followed:
ClassReader cr = new ClassReader(new FileInputStream(file));
cn = new ClassNode();
cr.accept(cn, 0);
I know from the asm guide that the COMPUTE_FRAMES option of ClassWriter
can let asm compute frame automatically. But how to accomplish it when I
use
the tree API?
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