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