Package | Description |
---|---|
org.openimaj.aop.classloader |
Modifier and Type | Method and Description |
---|---|
protected static javassist.Loader |
ClassLoaderTransform.run(ClassLoader parent,
javassist.ClassPool pool,
MultiTransformClassFileTransformer tf,
String mainClass,
String[] args) |
static javassist.Loader |
ClassLoaderTransform.run(javassist.ClassPool pool,
MultiTransformClassFileTransformer tf,
File jarFile,
String[] args)
Run the main method of the given jar file, passing all classes as they
are loaded through the transformer to modify the bytecode.
|
static javassist.Loader |
ClassLoaderTransform.run(javassist.ClassPool pool,
MultiTransformClassFileTransformer tf,
String classpath,
String mainClass,
String[] args)
Run the main method of the given class, transforming any classes found on
the given classpath as they are loaded.
|
static void |
ClassLoaderTransform.run(MultiTransformClassFileTransformer transformer,
Class<?> clz,
String[] args)
Re-load the given class in a newly created
Loader that is
configured to apply the given transform(s), and then run the main method. |