A B C G L O P T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- assertThat(P) - Static method in class com.google.inject.testing.throwingproviders.CheckedProviderSubject
B
- Bind - Annotation Type in com.google.inject.testing.fieldbinder
-
Annotation used by
BoundFieldModuleto indicate that a field should be bound to its value using Guice. - BoundFieldModule - Class in com.google.inject.testing.fieldbinder
-
A Guice module that automatically adds Guice bindings into the injector for all
Bindannotated fields of a specified object. - BoundFieldModule.BoundFieldInfo - Class in com.google.inject.testing.fieldbinder
-
Information about a field bound by
BoundFieldModule. - BoundFieldModule.WithPermits - Class in com.google.inject.testing.fieldbinder
-
Wrapper of BoundFieldModule which enables attaching
@RestrictedBindingSourcepermits to instances of it.
C
- checkedProviders() - Static method in class com.google.inject.testing.throwingproviders.CheckedProviderSubject
- CheckedProviderSubject<T,P extends CheckedProvider<T>> - Class in com.google.inject.testing.throwingproviders
-
Truth
Subjectfor use withCheckedProviderclasses. - com.google.inject.testing.fieldbinder - package com.google.inject.testing.fieldbinder
- com.google.inject.testing.throwingproviders - package com.google.inject.testing.throwingproviders
- configure() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.WithPermits
- configure(Binder) - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
G
- getBindAnnotation() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
The @
Bindannotation which is present on the field. - getBoundFields() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
Returns information about the fields bound by this module.
- getBoundKey() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
The key this field will bind to.
- getField() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
The field itself.
- getFieldType() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
The actual type of the field.
- getInstance() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
Returns the the object originally passed to
BoundFieldModule.of(java.lang.Object)). - getValue() - Method in class com.google.inject.testing.fieldbinder.BoundFieldModule.BoundFieldInfo
-
Returns the current value of this field.
L
- lazy() - Method in annotation type com.google.inject.testing.fieldbinder.Bind
-
If true,
BoundFieldModulewill delay reading the field until injection time rather than eagerly reading it at configure time.
O
- of(Object) - Static method in class com.google.inject.testing.fieldbinder.BoundFieldModule
-
Create a BoundFieldModule which binds the
Bindannotated fields ofinstance.
P
- providedValue() - Method in class com.google.inject.testing.throwingproviders.CheckedProviderSubject
-
Allows for assertions on the value provided by this provider.
T
- thrownException() - Method in class com.google.inject.testing.throwingproviders.CheckedProviderSubject
-
Allows for assertions on the exception thrown by this provider.
- to() - Method in annotation type com.google.inject.testing.fieldbinder.Bind
-
If specified,
BoundFieldModulewill bind the annotated field's value to this type, rather than to the field's actual type.
W
- WithPermits(Object) - Constructor for class com.google.inject.testing.fieldbinder.BoundFieldModule.WithPermits
All Classes All Packages