@AutoService([NormalClass(value=com/didiglobal/booster/transform/Transformer)]) class AsmTransformer : Transformer
Represents bytecode transformer using ASM
Author
johnsonlee
<init> |
AsmTransformer() AsmTransformer(classLoader: ClassLoader = Thread.currentThread().contextClassLoader) AsmTransformer(transformers: Iterable<ClassTransformer>, classLoader: ClassLoader = Thread.currentThread().contextClassLoader) |
onPostTransform |
fun onPostTransform(context: TransformContext): Unit |
onPreTransform |
fun onPreTransform(context: TransformContext): Unit |
transform |
Returns the transformed bytecode fun transform(context: TransformContext, bytecode: ByteArray): ByteArray |