Skip to main content

sqry_lang_java/relations/
mod.rs

1//! Relation extraction entry points for the Java plugin.
2//!
3//! This module exposes the public surface used by `JavaPlugin` to satisfy
4//! the `LanguagePlugin` trait. The heavy lifting now lives inside the
5//! `relations-shared` crate—our adapter simply wires the shared engine to
6//! the Java-specific hooks that were ported from the previous implementation.
7//!
8//! No new semantics here. New behaviour must go via `sqry_core::graph::GraphBuilder` and the language-specific `*GraphBuilder` (see this module's export) to build `CodeGraph`.
9
10pub mod graph_builder;
11pub mod java_common;
12mod local_scopes;
13
14pub use graph_builder::JavaGraphBuilder;
15
16pub use java_common::{JavaRelationContext, PackageResolver};
17
18// Re-export helper functions for callers that previously pulled them from the
19// per-plugin modules.
20pub use java_common::{build_member_symbol, build_symbol, normalize_type_name};