Package net.bytebuddy.dynamic.scaffold
Enum InstrumentedType.Prepareable.NoOp
- java.lang.Object
-
- java.lang.Enum<InstrumentedType.Prepareable.NoOp>
-
- net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable.NoOp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstrumentedType.Prepareable.NoOp>
,InstrumentedType.Prepareable
- Enclosing interface:
- InstrumentedType.Prepareable
public static enum InstrumentedType.Prepareable.NoOp extends java.lang.Enum<InstrumentedType.Prepareable.NoOp> implements InstrumentedType.Prepareable
A prepareable that does not alter the instrumented type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
InstrumentedType.Prepareable.NoOp
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
NoOp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstrumentedType
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.static InstrumentedType.Prepareable.NoOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstrumentedType.Prepareable.NoOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final InstrumentedType.Prepareable.NoOp INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static InstrumentedType.Prepareable.NoOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstrumentedType.Prepareable.NoOp c : InstrumentedType.Prepareable.NoOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstrumentedType.Prepareable.NoOp valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
prepare
public InstrumentedType prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.- Specified by:
prepare
in interfaceInstrumentedType.Prepareable
- Parameters:
instrumentedType
- The instrumented type in its current form.- Returns:
- The prepared instrumented type.
-
-