Hi
Given an AST declaration:
A ::= B*;
B;
C : B;
A gets among other things a method:
public void setBList(List<B>)
It would be useful if it instead was:
public void setBList(List<? extends B>)
That would allow passing a List<C> to it without a cast.
Jesper
Jesper MATTSSON, MSc
Software Developer & IT Administrator
Phone direct: +46 73 324 5909
Email: jesper.mattsson_at_modelon.com<mailto:jesper.mattsson_at_modelon.com>
[cid:image001.png_at_01CCE71C.55F93E00]
________________________________
Modelon AB
Ideon Science Park
SE-223 70 Lund, Sweden
Phone: +46 46 286 2200
Fax: +46 46 286 2201
Web:
http://www.modelon.com<
http://www.modelon.com/>
Received on Thu Feb 09 2012 - 11:17:49 CET