protected static enum AsmClassWriter.Factory.Default.EmptyAsmClassReader extends Enum<AsmClassWriter.Factory.Default.EmptyAsmClassReader> implements AsmClassReader
AsmClassReader.Factory, AsmClassReader.ForAsm, AsmClassReader.ForClassFileApi
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
NO_ATTRIBUTES
Modifier and Type | Method and Description |
---|---|
void |
accept(ClassVisitor classVisitor,
int flags)
Accepts a class visitor to read a class.
|
<T> T |
unwrap(Class<T> type)
Unwraps a class reader to the underlying reader mechanism.
|
static AsmClassWriter.Factory.Default.EmptyAsmClassReader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsmClassWriter.Factory.Default.EmptyAsmClassReader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsmClassWriter.Factory.Default.EmptyAsmClassReader INSTANCE
public static AsmClassWriter.Factory.Default.EmptyAsmClassReader[] values()
for (AsmClassWriter.Factory.Default.EmptyAsmClassReader c : AsmClassWriter.Factory.Default.EmptyAsmClassReader.values()) System.out.println(c);
public static AsmClassWriter.Factory.Default.EmptyAsmClassReader 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 null@AlwaysNull public <T> T unwrap(Class<T> type)
unwrap
in interface AsmClassReader
T
- The type to unwrap.type
- The type of the reader that should be unwrapped.null
if the underlying instance does not represent this type.public void accept(ClassVisitor classVisitor, int flags)
accept
in interface AsmClassReader
classVisitor
- The class visitor who should be used as a callback for a class file.flags
- The flags to consider while reading a class.Copyright © 2014–2025. All rights reserved.