com.google.inject.spi.PrivateElements |
A private collection of elements that are hidden from the enclosing injector or module by
default. See PrivateModule
for details.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the configuration information in this private environment.
| |||||||||||
Returns the unique exposed keys for these private elements.
| |||||||||||
Returns an arbitrary object containing information about the "place" where this key was
exposed.
| |||||||||||
Returns the child injector that hosts these private elements, or null if the elements haven't
been used to create an injector.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.inject.spi.Element
|
Returns the configuration information in this private environment.
Returns the unique exposed keys for these private elements.
Returns an arbitrary object containing information about the "place" where this key was exposed. Used by Guice in the production of descriptive error messages.
Tools might specially handle types they know about; StackTraceElement
is a good
example. Tools should simply call toString()
on the source object if the type is
unfamiliar.
key | one of the keys exposed by this module. |
---|
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector.