Expand description
Class file parser: converts .class bytes into ClassStub records.
Uses the cafebabe crate for low-level JVM bytecode parsing and converts
the parsed representation into our stub model types. This module handles
the base class parsing: class metadata, methods, fields, superclass,
interfaces, inner classes, enum constants, record components, and source
file extraction.
Generics (U05), annotations (U06), lambdas (U07a), and modules (U07b) are handled by separate enrichment parsers that post-process the stub.
Functions§
- parse_
class - Parse a
.classfile’s bytes into aClassStub.