Enum MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp
- java.lang.Object
-
- java.lang.Enum<MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp>
-
- net.bytebuddy.implementation.bytecode.member.MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp>
,MethodVariableAccess.MethodLoading.TypeCastingHandler
- Enclosing interface:
- MethodVariableAccess.MethodLoading.TypeCastingHandler
public static enum MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp extends java.lang.Enum<MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp> implements MethodVariableAccess.MethodLoading.TypeCastingHandler
A non-operative type casting handler.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.member.MethodVariableAccess.MethodLoading.TypeCastingHandler
MethodVariableAccess.MethodLoading.TypeCastingHandler.ForBridgeTarget, MethodVariableAccess.MethodLoading.TypeCastingHandler.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 StackManipulation
ofIndex(TypeDescription parameterType, int index)
Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.static MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MethodVariableAccess.MethodLoading.TypeCastingHandler.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 MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static MethodVariableAccess.MethodLoading.TypeCastingHandler.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 (MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp c : MethodVariableAccess.MethodLoading.TypeCastingHandler.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 MethodVariableAccess.MethodLoading.TypeCastingHandler.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
-
ofIndex
public StackManipulation ofIndex(TypeDescription parameterType, int index)
Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.- Specified by:
ofIndex
in interfaceMethodVariableAccess.MethodLoading.TypeCastingHandler
- Parameters:
parameterType
- The parameter type that is to be transformed.index
- The index of the transformed parameter.- Returns:
- A transformation to apply after loading the parameter onto the operand stack.
-
-