Class Advice.PostProcessor.Factory.Compound

    • Constructor Detail

      • Compound

        public Compound​(Advice.PostProcessor.Factory... factory)
        Creates a compound post processor factory.
        Parameters:
        factory - The represented post processor factories.
      • Compound

        public Compound​(java.util.List<? extends Advice.PostProcessor.Factory> factories)
        Creates a compound post processor factory.
        Parameters:
        factories - The represented post processor factories.
    • Method Detail

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