dpolishuk / atinject

Automatically exported from code.google.com/p/atinject
0 stars 0 forks source link

Specification should be updated for Java 8 type annotations #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Java 8 adds the ability for annotations to be specified on types whenever they 
appear.  This means it's now possible to write

@Inject Provider<@Leather Seat> seatProvider;

instead of

@Inject @Leather Provider<Seat> seatProvider;

It would be nice if the spec could be updated to allow the first usage, and 
explicitly disallow duplicate qualifiers like

@Inject @Leather Provider<@Fabric Seat> seatProvider;

Original issue reported on code.google.com by tavianator@gmail.com on 8 Apr 2014 at 3:44

GoogleCodeExporter commented 9 years ago
If there is going to be a change to JSR-330 for this I would like to be 
involved.  Either with jwells131313@gmail.com or john.wells@oracle.com.  Thanks!

Original comment by jwells13...@gmail.com on 8 Apr 2014 at 4:40