@usul Fun! If you're interested in these types of topics, you might find some of my articles interesting -
https://blogs.oracle.com/javamagazine/authors/ben-evans (especially this one:
https://blogs.oracle.com/javamagazine/post/real-world-bytecode-handling-with-asm) - I also talk about some of these topics in my books.