Package de.uzl.its.swat.instrument
Class ClassSavingTransformer
java.lang.Object
de.uzl.its.swat.instrument.ClassSavingTransformer
- All Implemented Interfaces:
ClassFileTransformer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrintBox
void
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
-
Constructor Details
-
ClassSavingTransformer
public ClassSavingTransformer()
-
-
Method Details
-
transform
public byte[] transform(ClassLoader loader, String cname, Class<?> classBeingRedefined, ProtectionDomain d, byte[] cbuf) - Specified by:
transform
in interfaceClassFileTransformer
-
saveClass
- Throws:
Exception
-
getPrintBox
-