Package net.bytebuddy.dynamic.scaffold
Interface TypeWriter.Default.ClassDumpAction.Dispatcher
- All Known Implementing Classes:
TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled
,TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
- Enclosing class:
- TypeWriter.Default.ClassDumpAction
protected static interface TypeWriter.Default.ClassDumpAction.Dispatcher
A dispatcher for dumping class files to the file system.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A disabled dispatcher that does not dump any class files.static class
An enabled dispatcher that dumps class files to a given folder. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dump
(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation) Dumps a class file to the file system.
-
Method Details
-
dump
Dumps a class file to the file system.- Parameters:
instrumentedType
- The type to dump.original
-true
if the class file is in its original state.binaryRepresentation
- The class file's binary representation.
-