public static enum AgentBuilder.TransformerDecorator.ForSubstitution extends Enum<AgentBuilder.TransformerDecorator.ForSubstitution> implements AgentBuilder.TransformerDecorator
AgentBuilder.TransformerDecorator.Compound, AgentBuilder.TransformerDecorator.ForSubstitution, AgentBuilder.TransformerDecorator.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
ResettableClassFileTransformer |
decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.
|
static AgentBuilder.TransformerDecorator.ForSubstitution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.TransformerDecorator.ForSubstitution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.TransformerDecorator.ForSubstitution INSTANCE
public static AgentBuilder.TransformerDecorator.ForSubstitution[] values()
for (AgentBuilder.TransformerDecorator.ForSubstitution c : AgentBuilder.TransformerDecorator.ForSubstitution.values()) System.out.println(c);
public static AgentBuilder.TransformerDecorator.ForSubstitution 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 ResettableClassFileTransformer decorate(ResettableClassFileTransformer classFileTransformer)
decorate
in interface AgentBuilder.TransformerDecorator
classFileTransformer
- The original transformer created by the agent builder.Copyright © 2014–2023. All rights reserved.