Enum Advice.PostProcessor.NoOp

    • Constructor Detail

      • NoOp

        private NoOp()
    • Method Detail

      • values

        public static Advice.PostProcessor.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.PostProcessor.NoOp c : Advice.PostProcessor.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.PostProcessor.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 name
        java.lang.NullPointerException - if the argument is null
      • resolve

        public StackManipulation resolve​(TypeDescription instrumentedType,
                                         MethodDescription instrumentedMethod,
                                         Assigner assigner,
                                         Advice.ArgumentHandler argumentHandler)
        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 for the instrumented method.
        Returns:
        The stack manipulation to apply.