Class ByteBuddyAgent.AttachmentProvider.Compound

java.lang.Object
net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.Compound
All Implemented Interfaces:
ByteBuddyAgent.AttachmentProvider
Enclosing interface:
ByteBuddyAgent.AttachmentProvider

public static class ByteBuddyAgent.AttachmentProvider.Compound extends Object implements ByteBuddyAgent.AttachmentProvider
A compound attachment provider that attempts the attachment by delegation to other providers. If none of the providers of this compound provider is capable of providing a valid accessor, an non-available accessor is returned.
  • Field Details

  • Constructor Details

    • Compound

      public Compound(ByteBuddyAgent.AttachmentProvider... attachmentProvider)
      Creates a new compound attachment provider.
      Parameters:
      attachmentProvider - A list of attachment providers in the order of their application.
    • Compound

      public Compound(List<? extends ByteBuddyAgent.AttachmentProvider> attachmentProviders)
      Creates a new compound attachment provider.
      Parameters:
      attachmentProviders - A list of attachment providers in the order of their application.
  • Method Details