RFR: 8374658: Consider use of "included" rather than "enclosed" in jx.a.p.Processor

Joe Darcy darcy at openjdk.org
Wed Jan 7 03:53:06 UTC 2026


The use of "enclosed" in javax.annotation.processing.Processor looks to be using a more colloquial definition than the JLS-eque notion of "enclosed" used in parts of the javax.lang.model API.

Instead, this PR proposes to switch from "enclosed" to "included," a term already used in RoundEnvironment for the concept in question.

-------------

Commit messages:
 - JDK-8374658: Consider use of "included" rather than "enclosed" in jx.a.p.Processor

Changes: https://git.openjdk.org/jdk/pull/29076/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29076&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374658
  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/29076.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29076/head:pull/29076

PR: https://git.openjdk.org/jdk/pull/29076


More information about the compiler-dev mailing list