@HashCodeAndEqualsPlugin.Enhance public static class TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled extends Object implements TypeWriter.Default.ClassDumpAction.Dispatcher
TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled, TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
Modifier | Constructor and Description |
---|---|
protected |
Enabled(String folder,
long timestamp)
Creates a new dispatcher for dumping class files.
|
Modifier and Type | Method and Description |
---|---|
void |
dump(TypeDescription instrumentedType,
boolean original,
byte[] binaryRepresentation)
Dumps a class file to the file system.
|
protected Enabled(String folder, long timestamp)
folder
- The folder to write class files to.timestamp
- The timestamp to append.public void dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation)
dump
in interface TypeWriter.Default.ClassDumpAction.Dispatcher
instrumentedType
- The type to dump.original
- true
if the class file is in its original state.binaryRepresentation
- The class file's binary representation.Copyright © 2014–2020. All rights reserved.