public static class AgentBuilder.Default.Transformation.Simple extends Object implements AgentBuilder.Default.Transformation
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgentBuilder.Default.Transformation.Simple.Resolution
A resolution that performs a type transformation.
|
AgentBuilder.Default.Transformation.Compound, AgentBuilder.Default.Transformation.Ignored, AgentBuilder.Default.Transformation.Simple| Modifier | Constructor and Description |
|---|---|
protected |
Simple(AgentBuilder.RawMatcher rawMatcher,
AgentBuilder.Transformer transformer)
Creates a new transformation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
AgentBuilder.Default.Transformation.Resolution |
resolve(TypeDescription typeDescription,
ClassLoader classLoader,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
ElementMatcher<? super TypeDescription> ignoredTypes)
Resolves an attempted transformation to a specific transformation.
|
String |
toString() |
protected Simple(AgentBuilder.RawMatcher rawMatcher, AgentBuilder.Transformer transformer)
rawMatcher - The raw matcher that is represented by this transformation.transformer - The transformer that is represented by this transformation.public AgentBuilder.Default.Transformation.Resolution resolve(TypeDescription typeDescription, ClassLoader classLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, ElementMatcher<? super TypeDescription> ignoredTypes)
AgentBuilder.Default.Transformationresolve in interface AgentBuilder.Default.TransformationtypeDescription - A description of the type that is to be transformed.classLoader - The class loader of the type being transformed.classBeingRedefined - In case of a type redefinition, the loaded type being transformed or null if that is not the case.protectionDomain - The protection domain of the type being transformed.ignoredTypes - A matcher for types that are explicitly ignored.Copyright © 2014–2016. All rights reserved.