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
      • make

        public Advice.PostProcessor make​(java.util.List<? extends AnnotationDescription> annotations,
                                         TypeDescription returnType,
                                         boolean exit)
        Creates a post processor for a given advice method.
        Specified by:
        make in interface Advice.PostProcessor.Factory
        Parameters:
        annotations - The annotations of the advice method.
        returnType - The advice method's return type that is being post-processed.
        exit - true if the advice is exit advice.
        Returns:
        The created post processor.