Enum Class Advice.PostProcessor.NoOp

java.lang.Object
java.lang.Enum<Advice.PostProcessor.NoOp>
net.bytebuddy.asm.Advice.PostProcessor.NoOp
All Implemented Interfaces:
Serializable, Comparable<Advice.PostProcessor.NoOp>, Constable, Advice.PostProcessor, Advice.PostProcessor.Factory
Enclosing interface:
Advice.PostProcessor

public static enum Advice.PostProcessor.NoOp extends Enum<Advice.PostProcessor.NoOp> implements Advice.PostProcessor, Advice.PostProcessor.Factory
A non-operational advice post processor.
  • Enum Constant Details

  • Constructor Details

    • NoOp

      private NoOp()
  • Method Details

    • values

      public static Advice.PostProcessor.NoOp[] 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

      public static Advice.PostProcessor.NoOp valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • resolve

      public StackManipulation resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)
      Resolves this post processor for a given instrumented method.
      Specified by:
      resolve in interface Advice.PostProcessor
      Parameters:
      instrumentedType - The instrumented type.
      instrumentedMethod - The instrumented method.
      assigner - The assigner to use.
      argumentHandler - The argument handler to use.
      stackMapFrameHandler - The argument handler for the instrumented method.
      exceptionHandler - The exception handler that is resolved for the instrumented method.
      Returns:
      The stack manipulation to apply.
    • make

      public Advice.PostProcessor make(MethodDescription.InDefinedShape advice, boolean exit)
      Creates a post processor for a given advice method.
      Specified by:
      make in interface Advice.PostProcessor.Factory
      Parameters:
      advice - The advice method to create the post processor for.
      exit - true if the advice is exit advice.
      Returns:
      The created post processor.