public static interface AgentBuilder.TypeStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.TypeStrategy.Default
Default implementations of type strategies.
|
static class |
AgentBuilder.TypeStrategy.ForBuildEntryPoint
A type strategy that applies a build
EntryPoint . |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module, @MaybeNull ProtectionDomain protectionDomain)
typeDescription
- The type being instrumented.byteBuddy
- The Byte Buddy configuration.classFileLocator
- The class file locator to use.methodNameTransformer
- The method name transformer to use.classLoader
- The instrumented type's class loader or null
if the type is loaded by the bootstrap loader.module
- The instrumented type's module or null
if it is not declared by a module.protectionDomain
- The instrumented type's protection domain or null
if it does not define a protection domain.Copyright © 2014–2023. All rights reserved.