public static enum Transformer.NoOp extends java.lang.Enum<Transformer.NoOp> implements Transformer<java.lang.Object>
Transformer.Compound<S>, Transformer.ForField, Transformer.ForMethod, Transformer.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> Transformer<T> |
make()
Creates a transformer in a type-safe manner.
|
java.lang.Object |
transform(TypeDescription instrumentedType,
java.lang.Object target)
Transforms the supplied target.
|
static Transformer.NoOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transformer.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transformer.NoOp INSTANCE
public static Transformer.NoOp[] values()
for (Transformer.NoOp c : Transformer.NoOp.values()) System.out.println(c);
public static Transformer.NoOp valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static <T> Transformer<T> make()
T
- The type of the transformed object.public java.lang.Object transform(TypeDescription instrumentedType, java.lang.Object target)
transform
in interface Transformer<java.lang.Object>
instrumentedType
- The instrumented type that declares the target being transformed.target
- The target entity that is being transformed.