I'm looking for a CGLIB analog usable for Dalvik bytecode. Is there such library in the Android world?
Maybe, there is a way to translate CGLIB result to Davlik bytecode on-the-fly?
I'm looking for a CGLIB analog usable for Dalvik bytecode. Is there such library in the Android world?
Maybe, there is a way to translate CGLIB result to Davlik bytecode on-the-fly?
Just came across this library from the Android team on google code recently: Dexmaker
Seems to have potential. This is related specifcially to an ehancement request to Android: Dalvik Bytecode generation
You can try incubation ASM-subproject asmdex. Though currently there isn't much documentation available.
Have a look at Byte Buddy which in its newest version supports Android.