sqry-classpath 7.2.0

JVM classpath analysis for sqry - bytecode parsing, build system resolution, and graph integration
Documentation

JVM classpath analysis for sqry.

This crate provides bytecode parsing, build system resolution, and graph integration for JVM classpath dependencies (Java, Kotlin, Scala). It enables sqry to resolve imports and type references across workspace source code and compiled library JARs.

Architecture

The classpath pipeline runs as a pre-pass before the main build graph pipeline:

  1. Detect - Identify the build system (Gradle, Maven, Bazel, sbt)
  2. Resolve - Extract the classpath JAR list via build tool subprocess
  3. Scan - Parse .class bytecode from each JAR into ClassStub records
  4. Cache - Persist parsed stubs per JAR (SHA-256 keyed) for incremental rebuilds
  5. Index - Merge all stubs into a ClasspathIndex for fast FQN lookup
  6. Emit - Create synthetic graph nodes and register in ExportMap

Feature Gate

All classpath functionality is gated behind the jvm-classpath feature on sqry-core. When disabled, no classpath code is compiled and there is zero overhead.