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 protectedEnabled(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 voiddump(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:
dumpin interfaceTypeWriter.Default.ClassDumpAction.Dispatcher- Parameters:
instrumentedType- The type to dump.original-trueif the class file is in its original state.binaryRepresentation- The class file's binary representation.
-
-