public static enum Transformer.NoOp extends Enum<Transformer.NoOp> implements Transformer<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.
|
Object |
transform(TypeDescription instrumentedType,
Object target)
Transforms the supplied target.
|
static Transformer.NoOp |
valueOf(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(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 static <T> Transformer<T> make()
T - The type of the transformed object.public Object transform(TypeDescription instrumentedType, Object target)
transform in interface Transformer<Object>instrumentedType - The instrumented type that declares the target being transformed.target - The target entity that is being transformed.Copyright © 2014–2019. All rights reserved.