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 ClassesModifier and TypeClassDescriptionprotected static interfaceA dispatcher for dumping class files to the file system. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClassDumpAction(String target, TypeDescription instrumentedType, boolean original, long suffix, byte[] binaryRepresentation) Creates a new class dump action. -
Method Summary
-
Constructor Details
-
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-trueif 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.
-
-
Method Details
-
run
-