Skip to main content

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 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 / implements edges yet. Easy to add in v0.2.0.
  • No generic-parameter descriptors.
  • No annotation extraction (planned).
  • Anonymous classes are skipped.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_java-0.4.5.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_java-0.4.5-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file codemap_java-0.4.5.tar.gz.

File metadata

  • Download URL: codemap_java-0.4.5.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_java-0.4.5.tar.gz
Algorithm Hash digest
SHA256 35cc7c89f5e9ce75aa46555499674bb8bf5d629be75d7aaa7c62b5c9d20ebecb
MD5 ebb4e75d0f720333d0e4a748c53c0d77
BLAKE2b-256 59f9843b52c80b323fcc53ecf0bd0a8c72a7fe815d818f8bef9e268d0ef75ac7

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_java-0.4.5.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_java-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: codemap_java-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_java-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 15654e4b98545aa52191f7fbc3a7497dbdf4f8de6514598a30cdb7e529fbbc21
MD5 8d8f703da42d9dfc41154970623c0bc0
BLAKE2b-256 76298bee37f48fac7e1313c387d81d1ba17c7f9342d6be37ab9e1e2996a9d336

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_java-0.4.5-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page