Method Summary |
|
public void | addClass(ClassEnhancerConfig config) Adds a class annotation. |
public void | addClassEnhancer(ClassEnhancer classEnhancer) Adds a class enhancer. |
public static EnhancerManager | create() |
public static EnhancerManager | create(ClassLoader loader) |
public byte[] | enhance(JClass jClass) Enhances the given class. |
public JavaClassLoader | getJavaClassLoader() Returns the JClassLoader. |
public static EnhancerManager | getLocalEnhancer(ClassLoader loader) |
final public Path | getPostWorkPath() Gets the work path. |
final public Path | getPreWorkPath() Gets the work path. |
public Path | getWorkPath() Gets the work path. |
public boolean | isClassMatch(String className) Returns true for a matching class. |
public void | setWorkPath(Path workPath) Sets the work path. |
public byte[] | transform(ClassLoader loader, String className, Class oldClass, ProtectionDomain domain, byte[] buffer) Returns the enhanced .class or null if no enhancement. |