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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded) voidonDiscovery(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded) voidonError(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, Throwable throwable) voidonIgnored(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded) voidonTransformation(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, net.bytebuddy.dynamic.DynamicType dynamicType) static voidwriteDebugFile(Set<String> debugClassesToWrite, String snapshotDirectoryAbsolutePath, String file) voidwriteDebugFiles(String snapshotDirectoryAbsolutePath)
-
Constructor Details
-
DebugListener
public DebugListener()
-
-
Method Details
-
writeDebugFiles
-
writeDebugFile
-
onDiscovery
public void onDiscovery(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded) - Specified by:
onDiscoveryin interfacenet.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:
onTransformationin interfacenet.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:
onIgnoredin interfacenet.bytebuddy.agent.builder.AgentBuilder.Listener
-
onError
public void onError(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded, Throwable throwable) - Specified by:
onErrorin interfacenet.bytebuddy.agent.builder.AgentBuilder.Listener
-
onComplete
public void onComplete(String typeName, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, boolean loaded) - Specified by:
onCompletein interfacenet.bytebuddy.agent.builder.AgentBuilder.Listener
-