public static enum AgentBuilder.Default.Transformation.Ignored extends Enum<AgentBuilder.Default.Transformation.Ignored> implements AgentBuilder.Default.Transformation
AgentBuilder.Default.Transformation.Compound, AgentBuilder.Default.Transformation.Ignored, AgentBuilder.Default.Transformation.Resolution, AgentBuilder.Default.Transformation.Simple
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
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() |
static AgentBuilder.Default.Transformation.Ignored |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.Default.Transformation.Ignored[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.Default.Transformation.Ignored INSTANCE
public static AgentBuilder.Default.Transformation.Ignored[] values()
for (AgentBuilder.Default.Transformation.Ignored c : AgentBuilder.Default.Transformation.Ignored.values()) System.out.println(c);
public static AgentBuilder.Default.Transformation.Ignored valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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.public String toString()
toString
in class Enum<AgentBuilder.Default.Transformation.Ignored>
Copyright © 2014–2016. All rights reserved.