public static enum AgentBuilder.Transformer.NoOp extends Enum<AgentBuilder.Transformer.NoOp> implements AgentBuilder.Transformer
AgentBuilder.Transformer that does
not modify the supplied dynamic type.AgentBuilder.Transformer.Compound, AgentBuilder.Transformer.ForAdvice, AgentBuilder.Transformer.ForBuildPlugin, AgentBuilder.Transformer.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder<?> |
transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module)
Allows for a transformation of a
DynamicType.Builder. |
static AgentBuilder.Transformer.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.Transformer.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.Transformer.NoOp INSTANCE
public static AgentBuilder.Transformer.NoOp[] values()
for (AgentBuilder.Transformer.NoOp c : AgentBuilder.Transformer.NoOp.values()) System.out.println(c);
public static AgentBuilder.Transformer.NoOp 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 DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module)
DynamicType.Builder.transform in interface AgentBuilder.Transformerbuilder - The dynamic builder to transform.typeDescription - The description of the type currently being instrumented.classLoader - The class loader of the instrumented class. Might be null to represent the bootstrap class loader.module - The class's module or null if the current VM does not support modules.builder.Copyright © 2014–2019. All rights reserved.