booster / com.didiglobal.booster.transform / Transformer

Transformer

interface Transformer : TransformListener

Represents bytecode transformer

Author
johnsonlee

Functions

transform

Returns the transformed bytecode

abstract fun transform(context: TransformContext, bytecode: ByteArray): ByteArray

Inheritors

AsmTransformer

Represents bytecode transformer using ASM

class AsmTransformer : Transformer

JavassistTransformer

Represents bytecode transformer using Javassist

class JavassistTransformer : Transformer