summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Lee <crazybob@crazybob.org>2009-10-03 15:14:11 +0000
committerBob Lee <crazybob@crazybob.org>2009-10-03 15:14:11 +0000
commit899bdb54cefb6a682a6d166c8e052bcc57ee004d (patch)
tree2129cbaf785e7b155e3b4f94c56eaba8778ab20e
parent60ee76710fb0426695824861e60a1d7c9eb54196 (diff)
downloadplatform_external_jsr330-899bdb54cefb6a682a6d166c8e052bcc57ee004d.tar.gz
platform_external_jsr330-899bdb54cefb6a682a6d166c8e052bcc57ee004d.tar.bz2
platform_external_jsr330-899bdb54cefb6a682a6d166c8e052bcc57ee004d.zip
Moved rule down so we don't mention qualifiers before we define them.
git-svn-id: https://atinject.googlecode.com/svn/trunk@51 3bc8319c-20ab-11de-9edc-3f40a397ab60
-rw-r--r--src/javax/inject/Inject.java24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/javax/inject/Inject.java b/src/javax/inject/Inject.java
index 29e431b..788d94b 100644
--- a/src/javax/inject/Inject.java
+++ b/src/javax/inject/Inject.java
@@ -111,17 +111,6 @@ import static java.lang.annotation.ElementType.FIELD;
* restrictions or lack of reflection support) might preclude injection
* of non-public members.
*
- * <p>For a given type T and optional qualifier, an injector must be able to
- * inject a user-specified class that:
- *
- * <ol type="a">
- * <li>is assignment compatible with T and</li>
- * <li>has an injectable constructor.</li>
- * </ol>
- *
- * <p>Beyond that, which values are injected depend upon the injector
- * implementation and its configuration.
- *
* <h3>Qualifiers</h3>
*
* <p>A {@linkplain Qualifier qualifier} may annotate an injectable field
@@ -142,6 +131,19 @@ import static java.lang.annotation.ElementType.FIELD;
* parameters do not automatically inherit qualifiers from the overridden
* method's parameters.
*
+ * <h3>Injectable Values</h3>
+ *
+ * <p>For a given type T and optional qualifier, an injector must be able to
+ * inject a user-specified class that:
+ *
+ * <ol type="a">
+ * <li>is assignment compatible with T and</li>
+ * <li>has an injectable constructor.</li>
+ * </ol>
+ *
+ * <p>Beyond that, which values are injected depend upon the injector
+ * implementation and its configuration.
+ *
* <h3>Circular Dependencies</h3>
*
* <p>Detecting and resolving circular dependencies is left as an exercise for