protected static interface AgentBuilder.Default.Transformation extends AgentBuilder.RawMatcher
| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.Default.Transformation.Compound
A compound transformation that applied several transformation in the given order and applies the first active transformation.
|
static class |
AgentBuilder.Default.Transformation.Ignored
A transformation that does not attempt to transform any type.
|
static interface |
AgentBuilder.Default.Transformation.Resolution
A resolution to a transformation.
|
static class |
AgentBuilder.Default.Transformation.Simple
A simple, active transformation.
|
AgentBuilder.RawMatcher.Conjunction, AgentBuilder.RawMatcher.Disjunction, AgentBuilder.RawMatcher.ForElementMatchers, AgentBuilder.RawMatcher.ForLoadState, AgentBuilder.RawMatcher.ForResolvableTypes, AgentBuilder.RawMatcher.Inversion, AgentBuilder.RawMatcher.Trivial| Modifier and Type | Method and Description |
|---|---|
AgentBuilder.Default.Transformation.Resolution |
resolve(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
boolean loaded,
ProtectionDomain protectionDomain,
TypePool typePool)
Resolves an attempted transformation to a specific transformation.
|
matchesAgentBuilder.Default.Transformation.Resolution resolve(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, boolean loaded, ProtectionDomain protectionDomain, TypePool typePool)
typeDescription - A description of the type that is to be transformed.classLoader - The class loader of the type being transformed.module - The transformed type's module or null if the current VM does not support modules.classBeingRedefined - In case of a type redefinition, the loaded type being transformed or null if that is not the case.loaded - true if the instrumented type is loaded.protectionDomain - The protection domain of the type being transformed.typePool - The type pool to apply during type creation.Copyright © 2014–2019. All rights reserved.