Class AgentBuilder.Default.Transformation

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.Default.Transformation
Enclosing class:
AgentBuilder.Default

@Enhance protected static class AgentBuilder.Default.Transformation extends Object
A transformation to apply.
  • Field Details

    • NONE

      @AlwaysNull private static final byte[] NONE
      Indicates that a type should not be ignored.
    • matcher

      private final AgentBuilder.RawMatcher matcher
      The matcher to identify types for transformation.
    • transformers

      private final List<AgentBuilder.Transformer> transformers
      A list of transformers to apply.
    • terminal

      private final boolean terminal
      true if this transformation is terminal.
  • Constructor Details

    • Transformation

      protected Transformation(AgentBuilder.RawMatcher matcher, List<AgentBuilder.Transformer> transformers, boolean terminal)
      Creates a new transformation.
      Parameters:
      matcher - The matcher to identify types eligable for transformation.
      transformers - A list of transformers to apply.
      terminal - Indicates that this transformation is terminal.
  • Method Details

    • getMatcher

      protected AgentBuilder.RawMatcher getMatcher()
      Returns the matcher to identify types for transformation.
      Returns:
      The matcher to identify types for transformation.
    • getTransformers

      protected List<AgentBuilder.Transformer> getTransformers()
      Returns a list of transformers to apply.
      Returns:
      A list of transformers to apply.
    • isTerminal

      protected boolean isTerminal()
      Returns true if this transformation is terminal.
      Returns:
      true if this transformation is terminal.