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