RFR: 8374658: Consider use of "included" rather than "enclosed" in jx.a.p.Processor [v3]
Chen Liang
liach at openjdk.org
Wed Feb 25 16:20:56 UTC 2026
On Tue, 24 Feb 2026 06:00:01 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> 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 incrementally with one additional commit since the last revision:
>
> Reflow paragraph
I still think `RoundEnvironment` uses "declared within" for our usages of "included" here. `RoundEnvironment` uses "included" to indicate root elements instead of nested structures "declared within" "included" root elements.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29076#issuecomment-3960414648
More information about the compiler-dev
mailing list