@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.TypeStrategy.ForBuildEntryPoint extends java.lang.Object implements AgentBuilder.TypeStrategy
EntryPoint.AgentBuilder.TypeStrategy.Default, AgentBuilder.TypeStrategy.ForBuildEntryPoint| Modifier and Type | Field and Description |
|---|---|
private EntryPoint |
entryPoint
The entry point to apply.
|
| Constructor and Description |
|---|
ForBuildEntryPoint(EntryPoint entryPoint)
Creates a new type strategy for an entry point.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder<?> |
builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
java.lang.ClassLoader classLoader,
JavaModule module,
java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
private final EntryPoint entryPoint
public ForBuildEntryPoint(EntryPoint entryPoint)
entryPoint - The entry point to apply.public DynamicType.Builder<?> builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
builder in interface AgentBuilder.TypeStrategytypeDescription - 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.