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 Classes Modifier and Type Interface Description static class
TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled
A disabled dispatcher that does not dump any class files.static class
TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
An enabled dispatcher that dumps class files to a given folder.
-
Method Summary
All Methods Instance Methods Abstract 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
void dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation)
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.
-
-