public abstract class InsertcodeStrategy
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.util.List<java.lang.String> |
exceptMethodList |
protected java.util.List<java.lang.String> |
exceptPackageList |
protected java.util.List<java.lang.String> |
hotfixMethodList |
protected java.util.List<java.lang.String> |
hotfixPackageList |
protected java.util.concurrent.atomic.AtomicInteger |
insertMethodCount |
protected boolean |
isExceptMethodLevel |
protected boolean |
isForceInsertLambda |
protected boolean |
isHotfixMethodLevel |
java.util.HashMap<java.lang.String,java.lang.Integer> |
methodMap |
| 构造器和说明 |
|---|
InsertcodeStrategy(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 abstract void |
insertCode(java.util.List<javassist.CtClass> box,
java.io.File jarFile) |
protected boolean |
isNeedInsertClass(java.lang.String className) |
protected void |
zipFile(byte[] classBytesArray,
java.util.zip.ZipOutputStream zos,
java.lang.String entryName) |
protected java.util.List<java.lang.String> hotfixPackageList
protected java.util.List<java.lang.String> hotfixMethodList
protected java.util.List<java.lang.String> exceptPackageList
protected java.util.List<java.lang.String> exceptMethodList
protected boolean isHotfixMethodLevel
protected boolean isExceptMethodLevel
protected boolean isForceInsertLambda
protected java.util.concurrent.atomic.AtomicInteger insertMethodCount
public java.util.HashMap<java.lang.String,java.lang.Integer> methodMap
public InsertcodeStrategy(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 abstract void insertCode(java.util.List<javassist.CtClass> box,
java.io.File jarFile)
throws javassist.CannotCompileException,
java.io.IOException,
javassist.NotFoundException
javassist.CannotCompileExceptionjava.io.IOExceptionjavassist.NotFoundExceptionprotected boolean isNeedInsertClass(java.lang.String className)
protected void zipFile(byte[] classBytesArray,
java.util.zip.ZipOutputStream zos,
java.lang.String entryName)