Skip to content

chore: update javadoc experimental tags - #6390

Merged
adangel merged 1 commit into
pmd:mainfrom
adangel:chore/javadoc-experimental
Jan 29, 2026
Merged

adangel merged 1 commit into
pmd:mainfrom
adangel:chore/javadoc-experimental

Conversation

@adangel

@adangel adangel commented Jan 8, 2026

Copy link
Copy Markdown
Member

Describe the PR

Make all the experimental tags consistent and add the since version separately.

Basically, this PR proposes this format for experimental api elements:

/**
 * @since x.y.z
 * @experimental Description.
 */
@Experimental
...

The question arises, when we promote the experimental API, which version do we use for the since tag then? Should we update the since tag? Or keep it at the first version, when it was introduced? Probably doesn't make a big difference in real life...

Probably https://docs.pmd-code.org/latest/pmd_projectdocs_decisions_adr_3.html should be updated as well...

Related issues

  • Fix #

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@adangel adangel added this to the 7.21.0 milestone Jan 8, 2026
@adangel adangel added the in:documentation Affects the documentation [doc] label Jan 8, 2026
@pmd-actions-helper

pmd-actions-helper Bot commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.

Regression Tester Report

(comment created at 2026-01-29 16:07:07+00:00 for 8fb286a)

@adangel adangel mentioned this pull request Jan 8, 2026
4 tasks
Add the since version separately.
@adangel
adangel force-pushed the chore/javadoc-experimental branch from 5d1eaa4 to 8fb286a Compare January 29, 2026 15:51
@adangel
adangel merged commit 75fb5eb into pmd:main Jan 29, 2026
10 checks passed
@adangel
adangel deleted the chore/javadoc-experimental branch January 29, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:documentation Affects the documentation [doc]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant