Package com.googlecode.d2j.tools.jar
Class DexWeaver
java.lang.Object
com.googlecode.d2j.tools.jar.BaseWeaver
com.googlecode.d2j.tools.jar.DexWeaver
only implement sub set of InvocationWeaver
2. Replace method A to another method B, parameter of B must be MethodInvocation
3. Replace Methods Implementations
-
Nested Class Summary
Nested classes/interfaces inherited from class com.googlecode.d2j.tools.jar.BaseWeaver
BaseWeaver.Callback, BaseWeaver.MtdInfo -
Field Summary
Fields inherited from class com.googlecode.d2j.tools.jar.BaseWeaver
callbacks, clzDescMap, currentInvocationIdx, DEFAULT_DESC, DEFAULT_RET_TYPE, defMap, ignores, invocationInterfaceDesc, invocationTypePrefix, key, mtdMap, seqIndex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildInvocationClz(com.googlecode.d2j.visitors.DexFileVisitor dfv) com.googlecode.d2j.visitors.DexFileVisitorwrap(com.googlecode.d2j.visitors.DexFileVisitor dcv) com.googlecode.d2j.visitors.DexClassVisitorMethods inherited from class com.googlecode.d2j.tools.jar.BaseWeaver
buildCallbackMethodName, buildKey, buildMethodAName, buildMethodInfo, findDefinedTargetMethod, findTargetMethod, findTargetMethod0, getCurrentInvocationName, nextInvocationName, setInvocationInterfaceDesc, toInternal, withConfig, withConfig, withConfig, withConfig
-
Constructor Details
-
DexWeaver
public DexWeaver()
-
-
Method Details
-
buildInvocationClz
-
wrap
public com.googlecode.d2j.visitors.DexFileVisitor wrap(com.googlecode.d2j.visitors.DexFileVisitor dcv) -
wrap
public com.googlecode.d2j.visitors.DexClassVisitor wrap(String classNameDesc, com.googlecode.d2j.visitors.DexClassVisitor dcv)
-