I've started to hack a version of ASM in order to be able to do the specialization at runtime. http://websvn.ow2.org/listing.php?repname=asm&path=%2Fbranches%2FVALHALLA%2F Currently, it only supports the TypeVariableMap attribute (reader and writer) and is fully backward compatible with ASM5 :) cheers, Rémi