Class AdviceInliningPoolStrategy

java.lang.Object
io.opentelemetry.javaagent.tooling.instrumentation.indy.AdviceInliningPoolStrategy
All Implemented Interfaces:
net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy

public class AdviceInliningPoolStrategy extends Object implements net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy
Pool strategy that sets "inline" attribute on Advice.OnMethodEnter and Advice.OnMethodExit annotations.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy

    net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy.ClassLoading, net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy.Default, net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy.Eager, net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy.ExtraLazy, net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy.WithTypePoolCache
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdviceInliningPoolStrategy(net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy poolStrategy, boolean inline)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.bytebuddy.pool.TypePool
    typePool(net.bytebuddy.dynamic.ClassFileLocator classFileLocator, ClassLoader classLoader)
     
    net.bytebuddy.pool.TypePool
    typePool(net.bytebuddy.dynamic.ClassFileLocator classFileLocator, ClassLoader classLoader, String name)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdviceInliningPoolStrategy

      public AdviceInliningPoolStrategy(net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy poolStrategy, boolean inline)
  • Method Details

    • typePool

      @NotNull public net.bytebuddy.pool.TypePool typePool(@NotNull net.bytebuddy.dynamic.ClassFileLocator classFileLocator, ClassLoader classLoader)
      Specified by:
      typePool in interface net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy
    • typePool

      @NotNull public net.bytebuddy.pool.TypePool typePool(@NotNull net.bytebuddy.dynamic.ClassFileLocator classFileLocator, ClassLoader classLoader, @NotNull String name)
      Specified by:
      typePool in interface net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy