/** * Dynamic add getColumnOrigins method to class RelMdColumnOrigins by javassist: * * public Set<RelColumnOrigin> getColumnOrigins(Snapshot rel,RelMetadataQuery mq, int iOutputColumn) { * return mq.getColumnOrigins(rel.getInput(), iOutputColumn); * } */ static { try { ClassPool ...
You might therefore want to have a look at javassist, the only real low-level alternative to cglib. Javassist comes bundled with a pseudo-java compiler what allows to create quite amazing byte code instrumentations without even understanding Java byte code. If you like to get your hands dirty...
There are two ImageJ components dedicated to maintaining backwards compatibility with ImageJ 1.x. The lower level of the two is the IJ1-patcher: using a tool called Javassist [47] to perform an advanced Java technique known as bytecode manipulation, ImageJ 1.x code is modified at runtime ...
There are two ImageJ components dedicated to maintaining backwards compatibility with ImageJ 1.x. The lower level of the two is the IJ1-patcher: using a tool called Javassist [47] to perform an advanced Java technique known as bytecode manipulation, ImageJ 1.x code is modified at runtime ...