Rethinking TypeAnnotation vs Annotation
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Feb 6 14:00:00 PST 2014
Right now, Compound is used for two things, it is the representation of
an annotation as an arg value of an enclosing annotation and it is used
for "top level" annotation values. I suspect it is time to split those
uses.
-- Jon
On 02/06/2014 01:48 PM, Werner Dietl wrote:
> Hi all,
>
> an alternative would be to keep Compound only while it is unclear
> whether an annotation is a type or declaration annotation and
> introduce a new DeclarationCompound class that can be used when only
> declaration annotations are expected.
> Why not have the type system help us keep things straight?
>
> cu, WMD.
More information about the compiler-dev
mailing list