Class Advice.PostProcessor.Factory.Compound

java.lang.Object
net.bytebuddy.asm.Advice.PostProcessor.Factory.Compound
All Implemented Interfaces:
Advice.PostProcessor.Factory
Enclosing interface:
Advice.PostProcessor.Factory

@Enhance public static class Advice.PostProcessor.Factory.Compound extends Object implements Advice.PostProcessor.Factory
A compound factory for a post processor.
  • Field Details

  • Constructor Details

    • Compound

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

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

    • make

      public Advice.PostProcessor make(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.