public class Transformer extends Object implements ClassFileTransformer
| Modifier and Type | Field and Description |
|---|---|
static String |
AWAIT_METHOD_DESC |
static String |
AWAIT_METHOD_NAME |
| Constructor and Description |
|---|
Transformer() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
instrument(InputStream inputStream) |
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
transform(org.objectweb.asm.ClassReader cr)
Does the actual instrumentation generating new bytecode
|
public static final String AWAIT_METHOD_DESC
public static final String AWAIT_METHOD_NAME
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform in interface ClassFileTransformerIllegalClassFormatExceptionpublic byte[] instrument(InputStream inputStream)
public byte[] transform(org.objectweb.asm.ClassReader cr)
throws org.objectweb.asm.tree.analysis.AnalyzerException
cr - the class reader for this classorg.objectweb.asm.tree.analysis.AnalyzerExceptionCopyright © 2015 Electronic Arts Inc. All rights reserved.