Class DebugListener

java.lang.Object
com.github.beothorn.agent.transformer.DebugListener
All Implemented Interfaces:
net.bytebuddy.agent.builder.AgentBuilder.Listener

public class DebugListener extends Object implements net.bytebuddy.agent.builder.AgentBuilder.Listener
  • Nested Class Summary

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

    net.bytebuddy.agent.builder.AgentBuilder.Listener.Adapter, net.bytebuddy.agent.builder.AgentBuilder.Listener.Compound, net.bytebuddy.agent.builder.AgentBuilder.Listener.Filtering, net.bytebuddy.agent.builder.AgentBuilder.Listener.ModuleReadEdgeCompleting, net.bytebuddy.agent.builder.AgentBuilder.Listener.NoOp, net.bytebuddy.agent.builder.AgentBuilder.Listener.StreamWriting, net.bytebuddy.agent.builder.AgentBuilder.Listener.WithErrorsOnly, net.bytebuddy.agent.builder.AgentBuilder.Listener.WithTransformationsOnly
  • Field Summary

    Fields inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Listener

    LOADED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onComplete(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded)
     
    void
    onDiscovery(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded)
     
    void
    onError(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, Throwable throwable)
     
    void
    onIgnored(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded)
     
    void
    onTransformation(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, net.bytebuddy.dynamic.DynamicType dynamicType)
     
    static void
    writeDebugFile(Set<String> debugClassesToWrite, String snapshotDirectoryAbsolutePath, String file)
     
    void
    writeDebugFiles(String snapshotDirectoryAbsolutePath)
     

    Methods inherited from class java.lang.Object

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

    • DebugListener

      public DebugListener()
  • Method Details

    • writeDebugFiles

      public void writeDebugFiles(String snapshotDirectoryAbsolutePath)
    • writeDebugFile

      public static void writeDebugFile(Set<String> debugClassesToWrite, String snapshotDirectoryAbsolutePath, String file)
    • onDiscovery

      public void onDiscovery(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded)
      Specified by:
      onDiscovery in interface net.bytebuddy.agent.builder.AgentBuilder.Listener
    • onTransformation

      public void onTransformation(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, net.bytebuddy.dynamic.DynamicType dynamicType)
      Specified by:
      onTransformation in interface net.bytebuddy.agent.builder.AgentBuilder.Listener
    • onIgnored

      public void onIgnored(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded)
      Specified by:
      onIgnored in interface net.bytebuddy.agent.builder.AgentBuilder.Listener
    • onError

      public void onError(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, Throwable throwable)
      Specified by:
      onError in interface net.bytebuddy.agent.builder.AgentBuilder.Listener
    • onComplete

      public void onComplete(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded)
      Specified by:
      onComplete in interface net.bytebuddy.agent.builder.AgentBuilder.Listener