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.DispatcherA dispatcher for dumping class files to the file system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypeWriter.Default.ClassDumpAction.Dispatcher.DisabledA disabled dispatcher that does not dump any class files.static classTypeWriter.Default.ClassDumpAction.Dispatcher.EnabledAn enabled dispatcher that dumps class files to a given folder.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddump(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-trueif the class file is in its original state.binaryRepresentation- The class file's binary representation.
-
-