@HashCodeAndEqualsPlugin.Enhance protected static class TypeWriter.Default.ClassDumpAction extends Object implements PrivilegedExceptionAction<Void>
| Modifier | Constructor and Description |
|---|---|
protected |
ClassDumpAction(String target,
TypeDescription instrumentedType,
boolean original,
byte[] binaryRepresentation)
Creates a new class dump action.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
dump(String dumpFolder,
TypeDescription instrumentedType,
boolean original,
byte[] binaryRepresentation)
Dumps the instrumented type if a
TypeWriter.Default.DUMP_FOLDER is configured. |
Void |
run() |
protected ClassDumpAction(String target, TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation)
target - The target folder for writing the class file to.instrumentedType - The instrumented type.original - true if the dumped class file is an input to a class transformation.binaryRepresentation - The type's binary representation.protected static void dump(String dumpFolder, TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation)
TypeWriter.Default.DUMP_FOLDER is configured.dumpFolder - The dump folder.instrumentedType - The instrumented type.original - true if the dumped class file is an input to a class transformation.binaryRepresentation - The binary representation.Copyright © 2014–2019. All rights reserved.