Skip to content

Issue #5978: Add XPath Support section to Writing Checks documentation#18997

Merged
romani merged 1 commit into
checkstyle:masterfrom
ayushactiveat:issue-5978-xpath-support-in-writing-checks
Feb 22, 2026
Merged

Issue #5978: Add XPath Support section to Writing Checks documentation#18997
romani merged 1 commit into
checkstyle:masterfrom
ayushactiveat:issue-5978-xpath-support-in-writing-checks

Conversation

@ayushactiveat

Copy link
Copy Markdown
Contributor

Fixes #5978

Changes Made

  1. Fixed incorrect log() usage in the "Visitor in action" example:
  2. Added new "XPath Support" section between "Logging violations" and "Integrating Checks":

Why -

because the writing checks guide made no mention of XPath support requirements,
meaning developers writing custom checks had no way to know their checks
needed to use the DetailAST-based log method for XPath suppression to work.

@ayushactiveat ayushactiveat force-pushed the issue-5978-xpath-support-in-writing-checks branch from a3a1e3b to 4da2337 Compare February 22, 2026 19:15
@romani

romani commented Feb 22, 2026

Copy link
Copy Markdown
Member

GitHub, generate website

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot !!!

@romani romani merged commit 023060a into checkstyle:master Feb 22, 2026
123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand "Writing Check" to include XPath support

2 participants