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:
java.io.Serializable
,java.lang.Comparable<Advice.AssignReturned.ExceptionHandler.Factory.NoOp>
,Advice.AssignReturned.ExceptionHandler.Factory
- Enclosing interface:
- Advice.AssignReturned.ExceptionHandler.Factory
public static enum Advice.AssignReturned.ExceptionHandler.Factory.NoOp extends java.lang.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 interface net.bytebuddy.asm.Advice.AssignReturned.ExceptionHandler.Factory
Advice.AssignReturned.ExceptionHandler.Factory.Enabled, Advice.AssignReturned.ExceptionHandler.Factory.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 static Advice.AssignReturned.ExceptionHandler.Factory.NoOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Advice.AssignReturned.ExceptionHandler.Factory.NoOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.StackManipulation
wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)
Wraps the supplied stack manipulation.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Advice.AssignReturned.ExceptionHandler.Factory.NoOp INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static Advice.AssignReturned.ExceptionHandler.Factory.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 (Advice.AssignReturned.ExceptionHandler.Factory.NoOp c : Advice.AssignReturned.ExceptionHandler.Factory.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 Advice.AssignReturned.ExceptionHandler.Factory.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
-
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.
-
-