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 enumA disabled dispatcher that does not dump any class files.static classAn enabled dispatcher that dumps class files to a given folder. -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(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-trueif the class file is in its original state.binaryRepresentation- The class file's binary representation.
-