public static class AsmClassReader.Default extends Object implements AsmClassReader
ClassReader.AsmClassReader.Default, AsmClassReader.Factory| Constructor and Description |
|---|
Default(ClassReader classReader)
Creates a new default ASM class reader.
|
| 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.
|
public Default(ClassReader classReader)
classReader - The class reader that represents the class file to be read.@MaybeNull public <T> T unwrap(Class<T> type)
unwrap in interface AsmClassReaderT - 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 AsmClassReaderclassVisitor - 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.