|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Iterator
interface, to make this interface easier to implement for certain types of
data sources.equals
, hashCode
, and toString
methods of Entry
.and()
and or()
.Module
s which reduces repetition and results in
a more readable configuration.element
to the ImmutableList
.
element
to the ImmutableSet
.
elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
elements
to the ImmutableList
.
elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
I
which will be presented to the user at a later
time.
I
, the full details of which will be logged, and the
message of which will be presented to the user at a later time.
true
if both this and the
given matcher return true
.
Binder
.Binder
.Binder
.Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
F
, resulting in an object
of type T
.
componentType
.
Injector
to eagerly initialize this
singleton-scoped binding upon creation.
Iterator
to the Enumeration
interface.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Injector
.I
and its supertypes.
@Named(key)
for each entry in
properties
.
@Named(key)
for each property.
ImmutableList
based on the contents of
the Builder
.
ImmutableSet
based on the contents of
the Builder
.
Object.equals()
.
javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
String.toUpperCase(java.util.Locale)
.
Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
index
specifies a valid element in an array,
list or string of size size
.
index
specifies a valid element in an array,
list or string of size size
.
type
.
value
if it is non-null allowed to be null.
index
specifies a valid position in an array,
list or string of size size
.
index
specifies a valid position in an array,
list or string of size size
.
start
and end
specify a valid positions
in an array, list or string of size size
, and are in order.
Collection
instances.Binder
's
expression language.modules
.
modules
.
messages
.
Binder
via the exposed methods.
binder
.
map
.
Key
s.
Injector
.messages
.
Proxy
when a circular dependency
is found.
rewritten
.Iterator
.
ListIterator
.
computeNext
must invoke this method when
there are no elements left in the iteration.
a
and b
are equal.
Map.Entry.equals(java.lang.Object)
.
Function
.
key
available to the enclosing environment
type
available to the enclosing environment.
type
available to the enclosing environment.
key
available to other modules and the injector.
type
available to other modules and the injector.
type
available to other modules and the injector.
Provides
method annotation in a
private module to indicate that the provided binding is exposed.finalizeReferent()
method which a
background thread invokes after the garbage collector reclaims the
referent.FinalizableReference.finalizeReferent()
on
them.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.member
, or null if there isn't one.
type
.
type
, or null if none is specified.
array
in order.
array
in order.
type
.
type
.
type
.
type
.
type
.
type
.
type
.
T
.
Type
instance.
Class
instance.
null
if this
message was not caused by a throwable.
type
.
null
if it has not yet been initialized.
null
if it has not yet been initialized.
modules
.
modules
.
modules
.
modules
.
constructor
.
field
.
supertype
.
type
.
instance
that will be injected to fulfill
this request.
type
that will be injected to fulfill this
request.
getProvider(key).get()
.
getProvider(type).get()
.
T
.
T
.
T
.
T
.
T
.
T
.
elements
.
messages
.
iterable
.
iterator
.
-1
if
this dependency does not belong to a parameter list.
methodOrConstructor
.
null
if this is a top-level injector.
provide instances
.
method
.
null
if that isn't known for this instance.
null
if that isn't known for this instance.
supertype
.
Type
instance.
com.google.inject.Provider
for the given
JSR-330 javax.inject.Provider
.
bindings
, providers
and instances that expose their dependencies explicitly.Map.Entry.hashCode()
.
List
implementation.public static final
lists ("constant lists").Map
with reliable user-specified iteration
order.public
static final
maps ("constant maps").Set
with reliable, user-specified
iteration order.public static final
sets ("constant sets").Binder
.
Binder
.
Injector
should inject values.I
.instance
.
instance
.
stage
.
true
if the given annotation type has no attributes.
binding
is singleton-scoped.
Toolable
.
Iterable
.Iterator
.tokens
, converted to strings if
necessary, separated by delimiter
.
tokens
, converted to strings if
necessary, separated by delimiter
.
tokens
, converted to strings if
necessary, separated by delimiter
.
tokens
, converted to strings if
necessary, separated by delimiter
.
map
, with entries
separated by entryDelimiter
, and keys and values separated with
keyValueSeparator
.
tokens
to appendable
, separated by
delimiter
.
tokens
to appendable
, separated by
delimiter
.
tokens
to appendable
, separated by
delimiter
.
tokens
to appendable
, separated by
delimiter
.
map
to appendable
, with entries
separated by entryDelimiter
, and keys and values separated with
keyValueSeparator
.
IOException
from the supplied
Appendable
.Binder
.List
whose elements are of type
elementType
.
List
instances.ConcurrentMap
builder, providing any combination of these
features: soft or weak keys, soft or weak values, timed expiration, and on-demand
computation of values.MapMaker
instance with default settings,
including strong keys, strong values, and no automatic expiration.
Map
whose keys are of type
keyType
and whose values are of type valueType
.
Map
instances.true
or false
for a given input.true
if this matches t
, false
otherwise.
T
.Field.class
, Method.class
or Constructor.class
.
Injector
.Module
.override()
.Types
API.Named
annotation with name
as the value.
@
Named
.ArrayList
instance.
ArrayList
instance containing the given elements.
ArrayList
instance containing the given elements.
ArrayList
instance containing the given elements.
HashMap
instance.
HashSet
instance.
IdentityHashMap
instance.
LinkedHashMap
instance.
LinkedHashSet
instance.
typeArguments
to
rawType
.
typeArguments
to
rawType
and enclosed by ownerType
.
TreeMap
instance using the natural ordering of its
elements.
null
is an acceptable value for that parameter.Object
.instance
.
true
if either this or the
given matcher return true
.
Provider.get()
when an attempt is made to access a scoped
object while the scope in question is not currently active.moreClassesToSkip
.
T
.Provider
that delegates to the binding for the provided type.Provides
.Provider
that provides elements of type
elementType
.
Provider
.Module
to create a provider method binding.messages
.
key
with value
in the built map.
map's
keys and values in the built map.
I
.
I
.
Injector
will inject instance fields
and methods of the given object.
Injector
will inject instance fields
and methods of the given object.
Injector
will inject static fields
and methods in the given classes.
key
.
type
.
Binder
.Set
whose elements are of type
elementType
.
Set
instances.Injector
.
Injector
) to be reused for all injections for that binding.value
.
classesToSkip
when identify the
calling code.
SoftReference
(by default, strong references
are used).
SoftReference
(by default, strong references
are used).
fromIndex
, inclusive, and toIndex
, exclusive.
bound
.
bound
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Injector
running in Stage.TOOL
that a method should be injected.Binder
.
Binder
.
Binder
.
Binder
.
{key}={value}
.
java.util.ArrayList.size
,
java.util.ArrayList<init>()
or java.util.List.remove()
.
iterable
, with the format
[e1, e2, ..., en]
.
iterator
, with the format
[e1, e2, ..., en]
.
toString()
methods.function
to each element of fromIterable
.
function
to each element of fromIterator
.
T
.iterator
.
UnmodifiableIterator.remove()
.Provider
that delegates to the binding for the
provided type.
WeakReference
(by default, strong references
are used).
WeakReference
(by default, strong references
are used).
override()
.
override()
.
source
as the reference location for
configuration errors.
source
as a reference point for newly added errors.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |