Rethinking TypeAnnotation vs Annotation
eric.mccorkle at oracle.com
Thu Feb 6 16:14:42 PST 2014
On 02/06/14 16:26, Joel Borggrén-Franck wrote:
> I have never been a big fan of the TypeCompound class at all. Also reading some more in 9.7.4 it looks like annotation can be both a type anno and a declaration anno. So, from my perspective, dumping TypeCompound and moving its data up to Compound seems like something to try out.
I had not thought of dumping TypeCompound, but it sounds like a good
idea. It would certainly eliminate a lot of code path duplication. I
would like to do that maybe one patch from now, though. Figuring out
TypeAnnotationPositions in MemberEnter is enough for one patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 303 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140206/3fea00ba/eric_mccorkle.vcf
More information about the compiler-dev