Package net.bytebuddy.asm
Enum Advice.AssignReturned.ExceptionHandler.Factory.NoOp
java.lang.Object
java.lang.Enum<Advice.AssignReturned.ExceptionHandler.Factory.NoOp>
net.bytebuddy.asm.Advice.AssignReturned.ExceptionHandler.Factory.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<Advice.AssignReturned.ExceptionHandler.Factory.NoOp>
,java.lang.constant.Constable
,Advice.AssignReturned.ExceptionHandler.Factory
- Enclosing interface:
Advice.AssignReturned.ExceptionHandler.Factory
public static enum Advice.AssignReturned.ExceptionHandler.Factory.NoOp
extends Enum<Advice.AssignReturned.ExceptionHandler.Factory.NoOp>
implements Advice.AssignReturned.ExceptionHandler.Factory
A non-operational factory that does not produce an exception 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.asm.Advice.AssignReturned.ExceptionHandler.Factory
Advice.AssignReturned.ExceptionHandler.Factory.Enabled, Advice.AssignReturned.ExceptionHandler.Factory.NoOp
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.wrap
(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler) Wraps the supplied stack manipulation.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoOp
private NoOp()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
wrap
public StackManipulation wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler) Wraps the supplied stack manipulation.- Specified by:
wrap
in interfaceAdvice.AssignReturned.ExceptionHandler.Factory
- Parameters:
stackManipulation
- The stack manipulation that represents the assignment.exceptionHandler
- The exception handler to apply.stackMapFrameHandler
- The stack map frame handler to use.- Returns:
- The resolved stack manipulation.
-