Skip to main content

Module classfile

Module classfile 

Source
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 .class file’s bytes into a ClassStub.