Class ByteCodeMerger


  • public final class ByteCodeMerger
    extends Object
    Class intended to merge bytecodes for enrichment.
    • Method Detail

      • mergeByteCodes

        public static byte[] mergeByteCodes​(byte[] originalByteCode,
                                            byte[] enrichmentByteCode)
        Merge two bytecodes into one
        Parameters:
        originalByteCode - Original bytecode
        enrichmentByteCode - Enrichment bytecode
        Returns:
        Merged bytecode