Package com.googlecode.d2j.tools.jar
Class DexWeaver
- java.lang.Object
-
- com.googlecode.d2j.tools.jar.BaseWeaver
-
- com.googlecode.d2j.tools.jar.DexWeaver
-
public class DexWeaver extends BaseWeaver
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 Constructor Description DexWeaver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringbuildInvocationClz(com.googlecode.d2j.visitors.DexFileVisitor dfv)com.googlecode.d2j.visitors.DexFileVisitorwrap(com.googlecode.d2j.visitors.DexFileVisitor dcv)com.googlecode.d2j.visitors.DexClassVisitorwrap(java.lang.String classNameDesc, com.googlecode.d2j.visitors.DexClassVisitor dcv)-
Methods inherited from class com.googlecode.d2j.tools.jar.BaseWeaver
buildCallbackMethodName, buildKey, buildMethodAName, buildMethodInfo, findDefinedTargetMethod, findTargetMethod, findTargetMethod0, getCurrentInvocationName, nextInvocationName, setInvocationInterfaceDesc, toInternal, withConfig, withConfig, withConfig, withConfig
-
-
-
-
Method Detail
-
buildInvocationClz
public java.lang.String buildInvocationClz(com.googlecode.d2j.visitors.DexFileVisitor dfv)
-
wrap
public com.googlecode.d2j.visitors.DexFileVisitor wrap(com.googlecode.d2j.visitors.DexFileVisitor dcv)
-
wrap
public com.googlecode.d2j.visitors.DexClassVisitor wrap(java.lang.String classNameDesc, com.googlecode.d2j.visitors.DexClassVisitor dcv)
-
-