AnnotatedExpr suggestion

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jan 3 15:42:05 PST 2013


Low priority suggestion:

The following in JCNewArray is mildly icky.


         public List<JCExpression> dims;
         // type annotations on dimensions
         public List<List<JCAnnotation>> dimAnnotations;

Would it make sense to introduce JCAnnotatedExpression so that that 
reduces to
       public List<JCAnnotatedExpression> dims;

-- Jon


More information about the type-annotations-dev mailing list