Issue 28 in atinject: Specification should be updated for Java 8 type annotations

3 views
Skip to first unread message

atin...@googlecode.com

unread,
Apr 8, 2014, 11:44:10 AM4/8/14
to atin...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 28 by tavia...@gmail.com: Specification should be updated for
Java 8 type annotations
http://code.google.com/p/atinject/issues/detail?id=28

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;

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

atin...@googlecode.com

unread,
Apr 8, 2014, 12:40:50 PM4/8/14
to atin...@googlegroups.com

Comment #1 on issue 28 by jwells13...@gmail.com: Specification should be
updated for Java 8 type annotations
http://code.google.com/p/atinject/issues/detail?id=28

If there is going to be a change to JSR-330 for this I would like to be
involved. Either with jwells...@gmail.com or john....@oracle.com.
Thanks!
Reply all
Reply to author
Forward
0 new messages