Interface Enhancer
-
public interface EnhancerClass responsible for performing enhancement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]enhance(java.lang.String className, byte[] originalBytes)Performs the enhancement.
-
-
-
Method Detail
-
enhance
byte[] enhance(java.lang.String className, byte[] originalBytes) throws EnhancementExceptionPerforms the enhancement.- Parameters:
className- The name of the class whose bytecode is being enhanced.originalBytes- The class's original (pre-enhancement) byte code- Returns:
- The enhanced bytecode. If the original bytes are not enhanced, null is returned.
- Throws:
EnhancementException- Indicates a problem performing the enhancement
-
-