Class BaseInstrumentation
- java.lang.Object
-
- com.contentsquare.gradle.error.analysis.network.instrumentation.network.hook.BaseInstrumentation
-
- All Implemented Interfaces:
NetworkObjectInstrumentation
- Direct Known Subclasses:
OkHttpClientCallEnqueueInstrumentation,OkHttpClientCallExecuteInstrumentation,UrlConnectionGetContentClassInstrumentation,UrlConnectionGetContentInstrumentation,UrlConnectionOpenStreamInstrumentation
public class BaseInstrumentation extends java.lang.Object implements NetworkObjectInstrumentation
-
-
Constructor Summary
Constructors Constructor Description BaseInstrumentation(java.lang.String owner, java.lang.String name, java.lang.String desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinjectAfter(org.objectweb.asm.MethodVisitor methodVisitor)voidinjectBefore(org.objectweb.asm.MethodVisitor methodVisitor)booleanreplaceMethod(org.objectweb.asm.MethodVisitor methodVisitor, int opcode)java.lang.StringtoString()
-
-
-
Method Detail
-
injectBefore
public void injectBefore(org.objectweb.asm.MethodVisitor methodVisitor)
- Specified by:
injectBeforein interfaceNetworkObjectInstrumentation
-
injectAfter
public void injectAfter(org.objectweb.asm.MethodVisitor methodVisitor)
- Specified by:
injectAfterin interfaceNetworkObjectInstrumentation
-
replaceMethod
public boolean replaceMethod(org.objectweb.asm.MethodVisitor methodVisitor, int opcode)- Specified by:
replaceMethodin interfaceNetworkObjectInstrumentation
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-