Class AgentBuilder.Default.Transformation

  • Enclosing class:
    AgentBuilder.Default

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

      • NONE

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

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

      • Transformation

        protected Transformation​(AgentBuilder.RawMatcher matcher,
                                 java.util.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 Detail

      • getMatcher

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

        protected java.util.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.