Enum Class 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:
Serializable
,Comparable<MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp>
,Constable
,MethodVariableAccess.MethodLoading.TypeCastingHandler
- Enclosing interface:
MethodVariableAccess.MethodLoading.TypeCastingHandler
public static enum MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp
extends Enum<MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp>
implements MethodVariableAccess.MethodLoading.TypeCastingHandler
A non-operative type casting handler.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionofIndex
(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.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoOp
private NoOp()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
ofIndex
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.
-