public class TransformerImpl extends Object implements ClassFileTransformer
Constructor and Description |
---|
TransformerImpl(Collection<ClassTransformSpec> specs) |
Modifier and Type | Method and Description |
---|---|
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
transform(String className,
byte[] classfileBuffer) |
public TransformerImpl(Collection<ClassTransformSpec> specs)
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform
in interface ClassFileTransformer
IllegalClassFormatException
public byte[] transform(String className, byte[] classfileBuffer)
Copyright © 2018. All rights reserved.