@HashCodeAndEqualsPlugin.Enhance public static class ClassFilePostProcessor.ForClassFileTransformer extends Object implements ClassFilePostProcessor
ClassFileTransformer.ClassFilePostProcessor.ForClassFileTransformer, ClassFilePostProcessor.NoOp| Constructor and Description |
|---|
ForClassFileTransformer(ClassFileTransformer classFileTransformer)
Creates a new class file post processor for a class file transformer.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
public ForClassFileTransformer(ClassFileTransformer classFileTransformer)
classFileTransformer - The class file transformer to delegate to.public byte[] transform(ClassLoader classLoader, String name, ProtectionDomain protectionDomain, byte[] binaryRepresentation)
transform in interface ClassFilePostProcessorclassLoader - The class loader which is used to load a class or null if loaded by the bootstrap loader.name - The binary name of the transformed class.protectionDomain - The protection domain of the transformed class or null if no protection domain is provided.binaryRepresentation - The binary representation of the class file.Copyright © 2014–2021. All rights reserved.