public static enum AsmClassWriter.Factory.Default extends Enum<AsmClassWriter.Factory.Default> implements AsmClassWriter.Factory
ClassWriter
.AsmClassWriter.Factory.Default, AsmClassWriter.Factory.Suppressing
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
AsmClassWriter |
make(int flags)
Creates a new class writer for the given flags.
|
AsmClassWriter |
make(int flags,
AsmClassReader classReader)
Creates a new class writer for the given flags, possibly based on a previous class file representation.
|
AsmClassWriter |
make(int flags,
AsmClassReader classReader,
TypePool typePool)
Creates a new class writer for the given flags, possibly based on a previous class file representation.
|
AsmClassWriter |
make(int flags,
TypePool typePool)
Creates a new class writer for the given flags.
|
static AsmClassWriter.Factory.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsmClassWriter.Factory.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsmClassWriter.Factory.Default INSTANCE
public static AsmClassWriter.Factory.Default[] values()
for (AsmClassWriter.Factory.Default c : AsmClassWriter.Factory.Default.values()) System.out.println(c);
public static AsmClassWriter.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 AsmClassWriter make(int flags)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.public AsmClassWriter make(int flags, AsmClassReader classReader)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.classReader
- A class reader to consider for writing a class file.public AsmClassWriter make(int flags, TypePool typePool)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.typePool
- A type pool to use for resolving type information for frame generation.public AsmClassWriter make(int flags, AsmClassReader classReader, TypePool typePool)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.classReader
- A class reader to consider for writing a class file.typePool
- A type pool to use for resolving type information for frame generation.Copyright © 2014–2024. All rights reserved.