Skip to main content

Module class_reader

Module class_reader 

Source
Expand description

JVM .class reader, constant-pool class relocator, and JAR SDK indexer. JVM classfile parser for SDK indexing and constant-pool class relocation.

Structs§

ParsedClassFile

Functions§

build_sdk_index_from_jars
Builds a full SdkIndex from local Minecraft, Fabric Loader, Fabric API, and dependency JARs, applying mappings (intermediary <-> named) if the Minecraft JAR is obfuscated.
parse_class_bytes
Parses a raw JVM .class file into structural metadata.
relocate_class_bytes
Safely relocates internal class names and L...; descriptors inside a compiled .class by parsing the ConstantPool structure and rewriting CONSTANT_Utf8 entries cleanly.