checkstyle

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program

A new way for AI to search for data
View on GitHub
9,627GitHub stars
18,216commits on master
4,322forks
latest release, 2026-10-31

Java 97.7%, HTML 1%, Shell 0.6%, JavaScript 0.2% · created 2013-08-31 · last push 2026-10-31

What XERJ indexed

Snapshot

9,549 files · 47.6 MB

Only config, src/it/java/org/checkstyle/suppressionxpathfilter/coding, src/it/resources/org/checkstyle/suppressionxpathfilter/coding/unnecessarypermitsclause, src/main/java/com/puppycrawl/tools/checkstyle, src/main/resources/com/puppycrawl/tools/checkstyle/checks/coding, src/main/resources/com/puppycrawl at commit bfe45c6f95 (2026-09-26). master is 389 commits ahead.

Selected work

“Issue #14121: IndentationCheck: inner Handlers should not have refere…”. 43 files, 1,013 lines in src/main, src/test, config.

Also selected on this repository: @M-SaaD-H (6e39d3ef4c7b).

Licence

The repository

NOASSERTION

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-18. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

javastatic-code-analysiscommand-line-toolstatic-analysiscode-qualityhacktoberfest

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported LGPL-2.1 for checkstyle/checkstyle on 2026-10-31, but the LICENSE file at commit bfe45c6f95 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.

Contributors

youssef alaa ahmed haredy (@Youssefalaa7) has 1 selected repository on the hub.

Saad Haider (@M-SaaD-H) was also selected on checkstyle/checkstyle and has 1 selected repository on the hub.

Using XERJ with checkstyle

The prompt

Paste it into your AI agent. It clones checkstyle/checkstyle at the pinned commit and indexes it on your machine.

Search the GitHub repository checkstyle/checkstyle with XERJ (https://hub.xerj.org/corpus/checkstyle--checkstyle).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/checkstyle/checkstyle checkstyle && git -C checkstyle checkout bfe45c6f95d88e012e9cffbdfeca3ad91fb3ef0c
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./checkstyle --url http://127.0.0.1:9200 --prefix checkstyle --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: check the LICENSE file. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.