- FileManager
- TimeManager
- BytecodeUtils
- JarTransformer
JarTransformer jarTransformer = new JarTransformer(new File("test.jar"));
then you will need to use
jarTransformer.transformJar()
to actually transform the Jar followed by
jarTransformer.createNewJar(new File("new.jar"));
to output the new Jar, or you can choose to manipulate/use the ClassNodes further via
jarTransformer.getClasses()
To actually use the JarTransformer you will need to create a Transformer for each class. They'll need to implement the ITransformer
interface. An example Transformer can be found under
me.xerces.utils.bytecode.transformer.transformers.ExampleTransformer