public static interface AgentBuilder.DescriptionStrategy
TypeDescription when transforming or retransforming/-defining a type.| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.DescriptionStrategy.Default
Default implementations of a
AgentBuilder.DescriptionStrategy. |
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
apply(Class<?> type,
AgentBuilder.TypeLocator typeLocator,
AgentBuilder.LocationStrategy locationStrategy)
Describes the given type.
|
TypeDescription |
apply(String typeName,
Class<?> typeBeingRedefined,
TypePool typePool)
Describes the given type.
|
TypeDescription apply(String typeName, Class<?> typeBeingRedefined, TypePool typePool)
typeName - The binary name of the type to describe.typeBeingRedefined - The type that is being redefined, if a redefinition is applied or null if no redefined type is available.typePool - The type pool to use for locating a type if required.TypeDescription apply(Class<?> type, AgentBuilder.TypeLocator typeLocator, AgentBuilder.LocationStrategy locationStrategy)
type - The loaded type to be described.typeLocator - The type locator to use.locationStrategy - The location strategy to use.Copyright © 2014–2016. All rights reserved.