Revision: 7f4f221bed95
Author:   eatnumber1 <[email protected]>
Date:     Fri Apr 11 02:15:30 2014 UTC
Log:      Add link to source and coming soon comment for javadocs.
http://code.google.com/p/google-guice/source/detail?r=7f4f221bed95&repo=wiki

Modified:
 /BoundFields.wiki

=======================================
--- /BoundFields.wiki   Fri Apr 11 02:13:47 2014 UTC
+++ /BoundFields.wiki   Fri Apr 11 02:15:30 2014 UTC
@@ -63,3 +63,5 @@
* If {{{@Bind(to = ...)}}} is specified, the field's value will be bound to the class specified by {{{to}}} instead of the field's actual type. * If a [http://google-guice.googlecode.com/git/javadoc/com/google/inject/BindingAnnotation.html BindingAnnotation] or [http://atinject.googlecode.com/svn/trunk/javadoc/javax/inject/Qualifier.html Qualifier] is present on the field, that field will be bound using that annotation via [http://google-guice.googlecode.com/git/javadoc/com/google/inject/binder/AnnotatedBindingBuilder.html annotatedWith]. For example, {{{bind(Foo.class).annotatedWith(BarAnnotation.class).toInstance(theValue)}}}. It is an error to supply more than one [http://google-guice.googlecode.com/git/javadoc/com/google/inject/BindingAnnotation.html BindingAnnotation] or [http://atinject.googlecode.com/svn/trunk/javadoc/javax/inject/Qualifier.html Qualifier]. * If the field is of type [http://google-guice.googlecode.com/git/javadoc/com/google/inject/Provider.html Provider], the field's value will be bound as a [http://google-guice.googlecode.com/git/javadoc/com/google/inject/Provider.html Provider] using [http://google-guice.googlecode.com/git/javadoc/com/google/inject/binder/LinkedBindingBuilder.html toProvider] to the provider's parameterized type. For example, {{{Provider<Integer>}}} binds to {{{Integer}}}. Attempting to bind a non-parameterized {{{Provider}}} without a {{{@Bind(to = ...)}}} clause is an error.
+
+Additional information can be found in the [https://code.google.com/p/google-guice/source/browse/extensions/testlib/src/com/google/inject/testing/fieldbinder/BoundFieldModule.java source]. Javadoc link coming soon!

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to