Java indexer plugin for CodeMap
Project description
codemap-java
A Java indexer for CodeMap, distributed as an independent PyPI package.
What it captures
Backed by tree-sitter-java. Single-file, no cross-file type inference (MVP):
| AST node | Symbol kind |
|---|---|
class_declaration |
class |
interface_declaration |
interface (stored as class with extra.java_kind=interface) |
enum_declaration |
stored as class with extra.java_kind=enum |
record_declaration |
stored as class with extra.java_kind=record |
method_declaration (inside type) |
method |
constructor_declaration |
method (signature prefixed with <init>) |
field_declaration (inside type) |
field |
Package declarations are captured and used as a prefix for the in-file
package namespace.
SymbolID encoding
scip-java . . . src/com/example/Greeter.java/Greeter#hello().
└────────┘ └────────────────────────────────┘ └──────┘ └─────┘
scheme file path type method
Install
pip install "git+https://github.com/qxbyte/codemap.git#subdirectory=plugins/codemap-java"
After installation, codemap doctor lists java next to the other
indexers on identical terms — same Indexer Protocol, same entry-point
group, no main-repo change required (ADR-004 + ADR-L001).
Limits
- No
extends/implementsedges yet. Easy to add in v0.2.0. - No generic-parameter descriptors.
- No annotation extraction (planned).
- Anonymous classes are skipped.
License
MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codemap_java-0.1.0a1.tar.gz.
File metadata
- Download URL: codemap_java-0.1.0a1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b3d5a9a5dd0f897f733177b3c863baa02195f7e52d46601d2920412a3b6deeb
|
|
| MD5 |
b9c78d2a3fd10446aac938bf35e81b53
|
|
| BLAKE2b-256 |
99b7f0224143011954e96ff9159d173dcea1f53debbd71a82e76728ae3552472
|
File details
Details for the file codemap_java-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: codemap_java-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3984a7c752410813d71d24f341f4e07bf51900927e3700c4d72948dbed42bcdc
|
|
| MD5 |
bb4c61493f86cc1421ae91aa962c14a4
|
|
| BLAKE2b-256 |
485b96432a0fc849effe49d7c3f54369fb85f51a2cca247dd76f883d188a656d
|