public static enum AsmClassReader.Factory.Default extends Enum<AsmClassReader.Factory.Default> implements AsmClassReader.Factory
ClassReader.AsmClassReader.Factory.Default| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| 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 AsmClassReader.Factory.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsmClassReader.Factory.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsmClassReader.Factory.Default INSTANCE
public static AsmClassReader.Factory.Default[] values()
for (AsmClassReader.Factory.Default c : AsmClassReader.Factory.Default.values()) System.out.println(c);
public static AsmClassReader.Factory.Default 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 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.Copyright © 2014–2024. All rights reserved.