Interface Enhancer


  • public interface Enhancer
    Class responsible for performing enhancement.
    • Method Detail

      • enhance

        byte[] enhance​(String className,
                       byte[] originalBytes)
                throws EnhancementException
        Performs 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