[Checkstyle] Ignore check for javadocs into method-local classes

Open
#14,490 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Machine-Maker is already working on this.

Since Nov 15, 2026.

  • #14491 by @Machine-Maker — open

Assessment

This issue has not been assessed yet.

Description

status: accepted
Expected behavior

Ignore that case

Observed/Actual behavior

The checkstyle enforce the javadoc in that internal implementation.

Steps/models to reproduce
static InstanceExample of(final boolean any) {
            @SuppressWarnings("checkstyle:MissingJavadocType") // remove this to throw the issue
            record Impl(boolean any) implements InstanceExample {
            }

            return new Impl(any);
        }
Plugin and Datapack List

N/A

Paper version

26.3

Other

dc812c5 (#14402)

Dominant language
Java
Stars
12.8k
Forks
3.6k
Avg merge
3d 7h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PaperMC/Paper

All issues in PaperMC/Paper

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.