@JavaDispatcher.Proxied(value="java.lang.instrument.ClassFileTransformer") protected static interface AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher
ClassFileTransformer when the module system is active.| Modifier and Type | Method and Description |
|---|---|
byte[] |
transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
byte[] transform(ClassFileTransformer target, @JavaDispatcher.Proxied(value="java.lang.Module") Object module, ClassLoader classLoader, String name, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] binaryRepresentation) throws IllegalClassFormatException
target - The transformer to use for transformation.module - The Java module of the transformed class.classLoader - The class loader of the transformed class or null if loaded by the boot loader.name - The internal name of the transformed class.classBeingRedefined - The class being redefined or null if not a retransformation.protectionDomain - The class's protection domain.binaryRepresentation - The class's binary representation.null if untransformed.IllegalClassFormatException - If the class file cannot be generated.Copyright © 2014–2021. All rights reserved.