RFR: 8257638: Update usage of "type" terminology in javax.lang.model
darcy at openjdk.java.net
Thu Dec 10 01:16:37 UTC 2020
On Thu, 10 Dec 2020 00:27:32 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> First pass at updating javax.lang.model's usage of the word "type" to correspond to changes in usage of "type" being made in JLS.
>> The wording in annotated construct and related functionality may need another pass.
>> Updating @jls tags to renamed JLS sections will be done under a different bug id.
>> Paragraphs *not* reflowed initially to easy reviewing. Paragraph will be reflowed and copyright year updated before a push is done.
> src/java.compiler/share/classes/javax/annotation/processing/Processor.java line 121:
>> 120: * For this purpose, a package element is <em>not</em> considered to
>> 121: * enclose the top-level classes and interfaces within that package. (A root element
> `enclose` would be better as `encloses`
"Package element" is singular so "enclose" is proper, right?
More information about the compiler-dev