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(String typeName,
Class<?> type,
TypePool typePool)
Describes the given type.
|
boolean |
isLoadedFirst()
Indicates if this description strategy makes use of loaded type information and yields a different type description if no loaded type is available.
|
TypeDescription apply(String typeName, Class<?> type, TypePool typePool)
typeName - The binary name of the type to describe.type - 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.boolean isLoadedFirst()
true if this description strategy prefers loaded type information when describing a type and only uses a type pool
if loaded type information is not available.Copyright © 2014–2016. All rights reserved.