public class AsmInsertImpl extends InsertcodeStrategy
insert code using asm
exceptMethodList, exceptPackageList, hotfixMethodList, hotfixPackageList, insertMethodCount, isExceptMethodLevel, isForceInsertLambda, isHotfixMethodLevel, methodMap| 构造器和说明 |
|---|
AsmInsertImpl(java.util.List<java.lang.String> hotfixPackageList,
java.util.List<java.lang.String> hotfixMethodList,
java.util.List<java.lang.String> exceptPackageList,
java.util.List<java.lang.String> exceptMethodList,
boolean isHotfixMethodLevel,
boolean isExceptMethodLevel,
boolean isForceInsertLambda) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
insertCode(java.util.List<javassist.CtClass> box,
java.io.File jarFile) |
byte[] |
transformCode(byte[] b1,
java.lang.String className) |
isNeedInsertClass, zipFilepublic AsmInsertImpl(java.util.List<java.lang.String> hotfixPackageList,
java.util.List<java.lang.String> hotfixMethodList,
java.util.List<java.lang.String> exceptPackageList,
java.util.List<java.lang.String> exceptMethodList,
boolean isHotfixMethodLevel,
boolean isExceptMethodLevel,
boolean isForceInsertLambda)
protected void insertCode(java.util.List<javassist.CtClass> box,
java.io.File jarFile)
throws java.io.IOException,
javassist.CannotCompileException
insertCode 在类中 InsertcodeStrategyjava.io.IOExceptionjavassist.CannotCompileExceptionpublic byte[] transformCode(byte[] b1,
java.lang.String className)
throws java.io.IOException
java.io.IOException