Using annotation with @Target(TYPE_USE) on type declaration

Alex Buckley alex.buckley at oracle.com
Wed Jun 28 18:08:51 UTC 2017


On 6/28/2017 12:26 AM, Gunnar Morling wrote:
>> 3. You're now wondering why JLS 9.6.4.1 doesn't "just" make a type declaration context
>
> I see. While 9.7.4 addresses the issue, it seems a bit implicit to me.
> A sentence in 9.6.4.1 in that spirit might be helpful, given it's
> probably the first place people will check when looking for details
> around @Target.

OK, sure, please provide that sentence by reply. It should be a crystal 
clear narrative in perfect English.

Alex


More information about the compiler-dev mailing list