Class IndyBootstrapDispatcher

java.lang.Object
io.opentelemetry.javaagent.bootstrap.IndyBootstrapDispatcher

public class IndyBootstrapDispatcher extends Object
Contains the bootstrap method for initializing invokedynamic callsites which are added via agent instrumentation.
  • Method Details

    • init

      public static void init(MethodHandle bootstrapMethod)
      Initialized the invokedynamic bootstrapping method to which this class will delegate.
      Parameters:
      bootstrapMethod - the method to delegate to. Must have the same type as bootstrap.
    • bootstrap

      public static CallSite bootstrap(MethodHandles.Lookup lookup, String adviceMethodName, MethodType adviceMethodType, Object... args)