org.sourceforge.jemm.weaver
Interface Weaver
- All Known Implementing Classes:
- WeaverImpl
public interface Weaver
A weaver enhances the byte code of the passed class contents to support JEMM's
mechanisms.
- Author:
- Paul Keeble
Method Summary |
byte[] |
enhance(byte[] byteCode)
Enhances the pass class (represented as its byte code)/
Already enhanced classes should be ignored. |
enhance
byte[] enhance(byte[] byteCode)
throws CompilerException
- Enhances the pass class (represented as its byte code)/
Already enhanced classes should be ignored.
- Parameters:
clazz
- The class to enhance
- Returns:
- The enhanced byte code, or null for no enhancement.
- Throws:
CompilerException
- On errors handling the given classes
Copyright © 2009. All Rights Reserved.