ASM 4 (Java Library) tutorials?

DziNeIT picture DziNeIT · Apr 1, 2013 · Viewed 7.6k times · Source

I have recently been working with the Java library 'ASM', which is for modification of bytecode at runtime, in case people didn't know, and I have not been able to find a single tutorial on ASM 4. Except the official manual for ASM 4, which referenced ASM classes that didn't even exist.

I am wondering if anyone knows of any tutorials for the library, which cover basic to intermediate things, such as inserting some code into a method.

Answer

Tom Carchrae picture Tom Carchrae · Apr 2, 2013

What you want to do seems pretty basic (to me). I'd be very surprised if it was not covered, with an example, in the user guide: https://asm.ow2.io/asm4-guide.pdf

There is lots of other documentation linked here: http://asm.ow2.org/

The ASM mailing list is also quite responsive if you ask: http://mail.ow2.org/wws/info/asm