protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Entry extends Object
Modifier | Constructor and Description |
---|---|
protected |
Entry(Class<?> type,
AgentBuilder.Default.Transformation.Resolution resolution) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Class<?> |
getType()
Returns the type that is being redefined.
|
int |
hashCode() |
protected ClassDefinition |
resolve(AgentBuilder.InitializationStrategy initializationStrategy,
ClassFileLocator classFileLocator,
AgentBuilder.TypeStrategy typeStrategy,
ByteBuddy byteBuddy,
AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AccessControlContext accessControlContext,
AgentBuilder.Listener listener)
Resolves this entry into a fully defined class redefinition.
|
String |
toString() |
protected Entry(Class<?> type, AgentBuilder.Default.Transformation.Resolution resolution)
type
- The type to be redefined.resolution
- The resolved transformation for this type.public Class<?> getType()
protected ClassDefinition resolve(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AccessControlContext accessControlContext, AgentBuilder.Listener listener)
initializationStrategy
- The initialization strategy to use.classFileLocator
- The class file locator to use.typeStrategy
- The type strategy to use.byteBuddy
- The Byte Buddy configuration to use.nativeMethodStrategy
- The native method strategy to use.bootstrapInjectionStrategy
- The bootstrap injection strategy to use.accessControlContext
- The access control context to use.listener
- The listener to report to.Copyright © 2014–2015. All rights reserved.