Package net.bytebuddy.dynamic.scaffold
Class TypeWriter.Default.ClassDumpAction
- java.lang.Object
-
- net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ClassDumpAction
-
- All Implemented Interfaces:
PrivilegedExceptionAction<Void>
- Enclosing class:
- TypeWriter.Default<S>
@Enhance protected static class TypeWriter.Default.ClassDumpAction extends Object implements PrivilegedExceptionAction<Void>
An action to write a class file to the dumping location.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
TypeWriter.Default.ClassDumpAction.Dispatcher
A dispatcher for dumping class files to the file system.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassDumpAction(String target, TypeDescription instrumentedType, boolean original, long suffix, byte[] binaryRepresentation)
Creates a new class dump action.
-
-
-
Constructor Detail
-
ClassDumpAction
protected ClassDumpAction(String target, TypeDescription instrumentedType, boolean original, long suffix, byte[] binaryRepresentation)
Creates a new class dump action.- Parameters:
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.suffix
- The suffix to append to the dumped class file.binaryRepresentation
- The type's binary representation.
-
-