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

Joe Darcy darcy at openjdk.org
Tue Feb 24 05:45:10 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.

Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into JDK-8374658
 - JDK-8374658: Consider use of "included" rather than "enclosed" in jx.a.p.Processor

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29076/files
  - new: https://git.openjdk.org/jdk/pull/29076/files/1b33c51a..81adfd24

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29076&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29076&range=00-01

  Stats: 730654 lines in 3335 files changed: 368812 ins; 321520 del; 40322 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