EKOSdocs
Docs / Integrations Build

Java

Java source in the public build; compiled JVM classes and JARs via the extension build.

Source (.java, public build, RFC 0209)

A hand-written, deterministic declaration parser — no model call — reads every .java file under the observed paths:

  • types, methods and constructors with source spans, signatures and Javadoc; imports and inheritance resolved inside the tree;
  • SQL built in method bodies, folded from literals and constants (through inheritance), parsed, and linked to the tables it reads and writes;
  • ticket ids (with [tickets] keys) anchored to the declaration they sit in;
  • for the iDempiere/ADempiere family, the generated I_* / X_* model classes become ModelTable objects with every column's business name, list values, mandatory flag, default and code-declared foreign key. A ModelTable is the code's claim about a table and is never merged into a database Table; with a live Oracle database the two are compared as conflicts. Generated files get no per-method objects.

Measured on iDempiere release-13: all 4,542 Java files read with 0 partial and 0 skipped; 763 ModelTables carrying 16,660 columns and 2,882 code-declared foreign keys (devlog_286). A file whose brackets do not balance is skipped with JAVA003.

Compiled (.class, .jar, .war, .ear, extension build)

Read from bytecode in-process (no JRE) by the separately licensed extension build. Structure, call graph, control flow, constants and I/O boundaries are recovered; statement-level recovery is .NET only. See Indexing Java Applications.