public class OpenedClassReader extends Object implements AsmClassReader.Factory
ClassReader that does not apply a class file version check if the
net.bytebuddy.experimental property is set.AsmClassReader.Factory.Default| Modifier and Type | Field and Description |
|---|---|
static int |
ASM_API
Indicates the ASM API version that is used throughout Byte Buddy.
|
static boolean |
EXPERIMENTAL
true if Byte Buddy is executed in experimental mode. |
static String |
EXPERIMENTAL_PROPERTY
Indicates that Byte Buddy should not validate the maximum supported class file version.
|
static String |
PROCESSOR_PROPERTY
Indicates what processor Byte Buddy is supposed to use if no processor is configured explicitly.
|
| Constructor and Description |
|---|
OpenedClassReader() |
| Modifier and Type | Method and Description |
|---|---|
AsmClassReader |
make(byte[] binaryRepresentation)
Creates a class reader for a given class file.
|
AsmClassReader |
make(byte[] binaryRepresentation,
boolean experimental)
Creates a class reader for a given class file.
|
static ClassReader |
of(byte[] binaryRepresentation)
Creates a class reader for the given binary representation of a class file.
|
static ClassReader |
of(byte[] binaryRepresentation,
boolean experimental)
Creates a class reader for the given binary representation of a class file.
|
public static final String EXPERIMENTAL_PROPERTY
public static final String PROCESSOR_PROPERTY
public static final boolean EXPERIMENTAL
true if Byte Buddy is executed in experimental mode.public static final int ASM_API
public AsmClassReader make(byte[] binaryRepresentation)
make in interface AsmClassReader.FactorybinaryRepresentation - The class file's binary representation.public AsmClassReader make(byte[] binaryRepresentation, boolean experimental)
make in interface AsmClassReader.FactorybinaryRepresentation - The class file's binary representation.experimental - true if unknown Java class files versions should also be considered.public static ClassReader of(byte[] binaryRepresentation)
binaryRepresentation - The binary representation of a class file to read.public static ClassReader of(byte[] binaryRepresentation, boolean experimental)
binaryRepresentation - The binary representation of a class file to read.experimental - true if unknown class file versions should also be processed.Copyright © 2014–2025. All rights reserved.