Class SnoopInstructionTransformer
java.lang.Object
janala.instrument.SnoopInstructionTransformer
- All Implemented Interfaces:
ClassFileTransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpremain(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, waitMethods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Constructor Details
-
SnoopInstructionTransformer
public SnoopInstructionTransformer()
-
-
Method Details
-
premain
- Throws:
ClassNotFoundException
-
transform
public byte[] transform(ClassLoader loader, String cname, Class<?> classBeingRedefined, ProtectionDomain d, byte[] cbuf) throws IllegalClassFormatException - Specified by:
transformin interfaceClassFileTransformer- Throws:
IllegalClassFormatException
-