public static class AgentBuilder.Default.Transformation.Compound extends Object implements AgentBuilder.Default.Transformation
AgentBuilder.Default.Transformation.Compound, AgentBuilder.Default.Transformation.Ignored, AgentBuilder.Default.Transformation.Resolution, AgentBuilder.Default.Transformation.Simple
Modifier | Constructor and Description |
---|---|
protected |
Compound(AgentBuilder.Default.Transformation... transformation)
Creates a new compound transformation.
|
protected |
Compound(List<? extends AgentBuilder.Default.Transformation> transformations)
Creates a new compound 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 Compound(AgentBuilder.Default.Transformation... transformation)
transformation
- An array of transformations to apply in their application order.protected Compound(List<? extends AgentBuilder.Default.Transformation> transformations)
transformations
- A list of transformations to apply in their application order.public AgentBuilder.Default.Transformation.Resolution resolve(TypeDescription typeDescription, ClassLoader classLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, ElementMatcher<? super TypeDescription> ignoredTypes)
AgentBuilder.Default.Transformation
resolve
in interface AgentBuilder.Default.Transformation
typeDescription
- 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.