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.ForBuildPlugin, AgentBuilder.Transformer.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
DynamicType.Builder<?> |
transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader)
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)
AgentBuilder.Transformer
DynamicType.Builder
.transform
in interface AgentBuilder.Transformer
builder
- 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.builder
.public String toString()
toString
in class Enum<AgentBuilder.Transformer.NoOp>
Copyright © 2014–2016. All rights reserved.