public class SnapshotInstrumentor extends Object implements ClassFileTransformer
| Modifier and Type | Field and Description |
|---|---|
static String |
SNAPSHOT_GENERATOR_FIELD_NAME |
| Constructor and Description |
|---|
SnapshotInstrumentor(SnapshotConfig config) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
instrument(org.objectweb.asm.ClassReader cr) |
byte[] |
instrument(String className) |
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
public static final String SNAPSHOT_GENERATOR_FIELD_NAME
public SnapshotInstrumentor(SnapshotConfig config)
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform in interface ClassFileTransformerIllegalClassFormatExceptionpublic byte[] instrument(String className) throws IOException
IOExceptionpublic byte[] instrument(org.objectweb.asm.ClassReader cr)
Copyright © 2016. All rights reserved.