public class ClassStub
extends MemberStub
Data container holding bytecode-extracted class metadata for efficient decompilation.
This class serves as an intermediary representation of class information extracted from compiled bytecode by AsmDecompiler. It holds raw class attributes (access modifiers, class names, signatures) and collections of method and field stubs that can be lazily reconstructed into full AST nodes by DecompiledClassNode.
ClassStub instances are not AST nodes themselves; they are data containers that facilitate lazy loading of class members. The actual ClassNode representation is created by DecompiledClassNode, which uses this stub to populate fields and methods on demand via LazyFieldNode, LazyMethodNode, and LazyConstructorNode.
Thread Safety: ClassStub instances are typically constructed once and then treated as immutable. They are safe for concurrent read access after initialization.
| Methods inherited from class | Name |
|---|---|
class MemberStub |
getAnnotations |
Creates a ClassStub from bytecode class metadata.
className - the fully qualified class name (dot notation)accessModifiers - JVM access modifiers (ASM Opcodes flags)signature - generic type signature or nullsuperName - internal superclass name (JVMS format) or nullinterfaceNames - internal interface names (JVMS format) or empty arrayCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.