type annotations inside javac

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Feb 4 09:12:25 PST 2013

On 01/30/2013 06:33 PM, Werner Michael Dietl wrote:
> I think it would be good to perform separateAnnotationsKinds earlier,
> but I don't know what the best spot for this would be.
> By performing the separation earlier, I hope that the AnnotatedType
> gets propagated to more places and giving us a consistent view of the
> types - regardless of whether the AST contained an AnnotatedTypeTree.

When is separateAnnotationKinds called now?

I would think that, for signatures, it needs to be called from the
Annotate code that is executed at the end of MemberEnter.
Obviously, for method bodies it cannot be called until later.

-- Jon

More information about the type-annotations-dev mailing list