public static enum TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled extends Enum<TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled> implements TypeWriter.Default.ClassDumpAction.Dispatcher
TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled, TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dump(TypeDescription instrumentedType,
boolean original,
byte[] binaryRepresentation)
Dumps a class file to the file system.
|
static TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled INSTANCE
public static TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled[] values()
for (TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled c : TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled.values()) System.out.println(c);
public static TypeWriter.Default.ClassDumpAction.Dispatcher.Disabled valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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.