public static interface AgentBuilder.Default.Transformation.Resolution
Modifier and Type | Interface and Description |
---|---|
static interface |
AgentBuilder.Default.Transformation.Resolution.Decoratable
A resolution that can be decorated by a transformer.
|
static class |
AgentBuilder.Default.Transformation.Resolution.Sort
Describes a specific sort of a
AgentBuilder.Default.Transformation.Resolution . |
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.InjectionStrategy injectionStrategy,
AccessControlContext accessControlContext,
AgentBuilder.Listener listener)
Transforms a type or returns
null if a type is not to be transformed. |
AgentBuilder.Default.Transformation.Resolution |
asDecoratorOf(AgentBuilder.Default.Transformation.Resolution resolution)
Resolves this resolution as a decorator of the supplied resolution.
|
AgentBuilder.Default.Transformation.Resolution.Sort |
getSort()
Returns the sort of this resolution.
|
AgentBuilder.Default.Transformation.Resolution |
prepend(AgentBuilder.Default.Transformation.Resolution.Decoratable resolution)
Resolves this resolution as a decorator of the supplied resolution.
|
AgentBuilder.Default.Transformation.Resolution.Sort getSort()
AgentBuilder.Default.Transformation.Resolution asDecoratorOf(AgentBuilder.Default.Transformation.Resolution resolution)
resolution
- The resolution for which this resolution should serve as a decorator.AgentBuilder.Default.Transformation.Resolution prepend(AgentBuilder.Default.Transformation.Resolution.Decoratable resolution)
resolution
- The resolution for which this resolution should serve as a decorator.byte[] apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.InjectionStrategy injectionStrategy, 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.injectionStrategy
- The 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–2019. All rights reserved.