public interface AsmClassReader
ClassVisitor
instances and reader flags.Modifier and Type | Interface and Description |
---|---|
static class |
AsmClassReader.Default
A class reader for ASM's default
ClassReader . |
static interface |
AsmClassReader.Factory
A factory to create a
AsmClassReader . |
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.
|
@MaybeNull <T> T unwrap(Class<T> type)
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.void accept(ClassVisitor classVisitor, int flags)
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–2024. All rights reserved.