JCReceiverVariableDecl

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Apr 10 17:06:12 PDT 2013


Question, on line 867,
         // TODO: do we want a separate tag?

Answer, yes, and a new Tree.Kind and a corresponding new subtype of Tree.

Reason: imagine someone wanting to walk the tree -- they need to be able 
to get at the "nameexpr" field.

The alternative would be to pack the qualified name into the "name" 
field.  The uugh-ness of that depends on what the EG decides for the 
specification of the qualified name.

-- Jon





More information about the type-annotations-dev mailing list