Package janala.instrument
Class SnoopInstructionTransformer
- java.lang.Object
-
- janala.instrument.SnoopInstructionTransformer
-
- All Implemented Interfaces:
ClassFileTransformer
public class SnoopInstructionTransformer extends Object implements ClassFileTransformer
-
-
Constructor Summary
Constructors Constructor Description SnoopInstructionTransformer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
premain(String agentArgs, Instrumentation inst)
byte[]
transform(ClassLoader loader, String cname, Class<?> classBeingRedefined, ProtectionDomain d, byte[] cbuf)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
-
-
-
Method Detail
-
premain
public static void premain(String agentArgs, Instrumentation inst) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
transform
public byte[] transform(ClassLoader loader, String cname, Class<?> classBeingRedefined, ProtectionDomain d, byte[] cbuf) throws IllegalClassFormatException
- Specified by:
transform
in interfaceClassFileTransformer
- Throws:
IllegalClassFormatException
-
-