Lightened restrictions on using @Target on qualifiers and scope annotations.
git-svn-id: https://atinject.googlecode.com/svn/trunk@8 3bc8319c-20ab-11de-9edc-3f40a397ab60
diff --git a/src/javax/inject/Qualifier.java b/src/javax/inject/Qualifier.java
index 94ac3da..8ec8e4e 100644
--- a/src/javax/inject/Qualifier.java
+++ b/src/javax/inject/Qualifier.java
@@ -14,13 +14,13 @@
* <li>is annotated with {@code @Qualifier}, {@code @Retention(RUNTIME)},
* and typically {@code @Documented}.</li>
* <li>can have attributes.</li>
- * <li>is <i>not</i> annotated with {@code @Target}. While this
- * specification only covers applying qualifiers to fields and parameters,
- * some injector configurations might use qualifier annotations in other
- * places (on methods or classes for example).</li>
* <li>may be part of the public API, much like the dependency type, but
* unlike implementation types which needn't be part of the public
* API.</li>
+ * <li>may have restricted usage if annotated with {@code @Target}. While
+ * this specification only covers applying qualifiers to fields and
+ * parameters, some injector configurations might use qualifier
+ * annotations in other places (on methods or classes for example).</li>
* </ul>
*
* <p>For example:
diff --git a/src/javax/inject/Scope.java b/src/javax/inject/Scope.java
index 7eb2666..51a199d 100644
--- a/src/javax/inject/Scope.java
+++ b/src/javax/inject/Scope.java
@@ -36,10 +36,10 @@
* <li>should not have attributes.</li>
* <li>is typically not {@code @Inherited}, so scoping is orthogonal to
* implementation inheritance.</li>
- * <li>is <i>not</i> annotated with {@code @Target}. While this
- * specification only covers applying scopes to classes, some injector
- * configurations might use scopes in other places (on factory
- * method results for example).</li>
+ * <li>may have restricted usage if annotated with {@code @Target}. While
+ * this specification only covers applying scopes to classes, some
+ * injector configurations might use scope annotations
+ * in other places (on factory method results for example).</li>
* </ul>
*
* <p>For example: