Class TransformerImpl
- java.lang.Object
-
- org.kohsuke.file_leak_detector.transform.TransformerImpl
-
- All Implemented Interfaces:
ClassFileTransformer
public class TransformerImpl extends Object implements ClassFileTransformer
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description TransformerImpl(Collection<ClassTransformSpec> specs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
transform(String className, byte[] classfileBuffer)
-
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 Detail
-
TransformerImpl
public TransformerImpl(Collection<ClassTransformSpec> specs)
-
-
Method Detail
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
- Specified by:
transform
in interfaceClassFileTransformer
-
transform
public byte[] transform(String className, byte[] classfileBuffer)
-
-