public interface ClassFilePostProcessor
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ClassFilePostProcessor.ForClassFileTransformer
A class file post processor that delegates to an  
ClassFileTransformer. | 
static class  | 
ClassFilePostProcessor.NoOp
A non-operation class file post processor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
transform(ClassLoader classLoader,
         String name,
         ProtectionDomain protectionDomain,
         byte[] binaryRepresentation)
Transforms a class file for a given class. 
 | 
byte[] transform(@MaybeNull ClassLoader classLoader, String name, @MaybeNull ProtectionDomain protectionDomain, byte[] binaryRepresentation)
classLoader - 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.