protected static class ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer extends Object implements ClassFileTransformer
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ExtractionClassFileTransformer(ClassLoader classLoader,
                              String typeName)
Creates a class file transformer for the purpose of extraction. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected byte[] | 
getBinaryRepresentation()
Returns the binary representation of the class file that was looked up. 
 | 
byte[] | 
transform(ClassLoader classLoader,
         String internalName,
         Class<?> redefinedType,
         ProtectionDomain protectionDomain,
         byte[] binaryRepresentation) | 
protected ExtractionClassFileTransformer(@MaybeNull ClassLoader classLoader, String typeName)
classLoader - The class loader that is expected to have loaded the looked-up a class.typeName - The name of the type to look up.@MaybeNull public byte[] transform(@MaybeNull ClassLoader classLoader, @MaybeNull String internalName, @MaybeNull Class<?> redefinedType, ProtectionDomain protectionDomain, byte[] binaryRepresentation)
transform in interface ClassFileTransformer@MaybeNull protected byte[] getBinaryRepresentation()
null if no such class file could
 be located.Copyright © 2014–2024. All rights reserved.