Package net.bytebuddy.asm
Enum Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled
- java.lang.Object
-
- java.lang.Enum<Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled>
-
- net.bytebuddy.asm.Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled>
,Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
- Enclosing interface:
- Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
public static enum Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled extends java.lang.Enum<Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled> implements Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
A disabled skip dispatcher where the instrumented method is always executed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled, Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForType, Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.objectweb.asm.MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, MethodDescription instrumentedMethod, Advice.Dispatcher.Bound.SkipHandler skipHandler)
Applies this skip dispatcher.static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled[] 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.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled c : Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled.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.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled 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
-
apply
public void apply(org.objectweb.asm.MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, MethodDescription instrumentedMethod, Advice.Dispatcher.Bound.SkipHandler skipHandler)
Description copied from interface:Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
Applies this skip dispatcher.- Specified by:
apply
in interfaceAdvice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
- Parameters:
methodVisitor
- The method visitor to write to.methodSizeHandler
- The method size handler of the advice method to use.stackMapFrameHandler
- The stack map frame handler of the advice method to use.instrumentedMethod
- The instrumented method.skipHandler
- The skip handler to use.
-
-