Package net.bytebuddy.dynamic.scaffold
Class TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
- java.lang.Object
-
- net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
-
- All Implemented Interfaces:
TypeWriter.Default.ClassDumpAction.Dispatcher
- Enclosing interface:
- TypeWriter.Default.ClassDumpAction.Dispatcher
@Enhance public static class TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled extends java.lang.Object implements TypeWriter.Default.ClassDumpAction.Dispatcher
An enabled dispatcher that dumps class files to a given folder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ClassDumpAction.Dispatcher
TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled, TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Enabled(java.lang.String folder, long timestamp)
Creates a new dispatcher for dumping class files.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation)
Dumps a class file to the file system.
-
-
-
Method Detail
-
dump
public void dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation)
Dumps a class file to the file system.- Specified by:
dump
in interfaceTypeWriter.Default.ClassDumpAction.Dispatcher
- Parameters:
instrumentedType
- The type to dump.original
-true
if the class file is in its original state.binaryRepresentation
- The class file's binary representation.
-
-