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
  • Constructor Details

    • DexWeaver

      public DexWeaver()
  • Method Details

    • buildInvocationClz

      public 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(String classNameDesc, com.googlecode.d2j.visitors.DexClassVisitor dcv)