public static interface AgentBuilder.Default.Transformation.Resolution
| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.Default.Transformation.Resolution.Unresolved
A canonical implementation of a non-resolved resolution.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
apply(AgentBuilder.InitializationStrategy initializationStrategy,
ClassFileLocator classFileLocator,
AgentBuilder.TypeStrategy typeStrategy,
ByteBuddy byteBuddy,
AgentBuilder.Default.NativeMethodStrategy methodNameTransformer,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AccessControlContext accessControlContext,
AgentBuilder.Listener listener)
Transforms a type or returns
null if a type is not to be transformed. |
boolean |
isResolved()
Returns
true if this resolution represents an actual type transformation. |
boolean isResolved()
true if this resolution represents an actual type transformation. If this value is false,
this resolution will not attempt to transform a class.true if this resolution attempts to transform a type, false otherwise.byte[] apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AccessControlContext accessControlContext, AgentBuilder.Listener listener)
null if a type is not to be transformed.initializationStrategy - The initialization strategy to use.classFileLocator - The class file locator to use.typeStrategy - The definition handler to use.byteBuddy - The Byte Buddy instance to use.methodNameTransformer - The method name transformer to be used.bootstrapInjectionStrategy - The bootstrap injection strategy to be used.accessControlContext - The access control context to be used.listener - The listener to be invoked to inform about an applied or non-applied transformation.null if no transformation is attempted.Copyright © 2014–2016. All rights reserved.