public interface PrivateElements extends Element
PrivateModule for details.
| Modifier and Type | Method and Description |
|---|---|
List |
getElements()
Returns the configuration information in this private environment.
|
Set |
getExposedKeys()
Returns the unique exposed keys for these private elements.
|
Object |
getExposedSource(Key
Returns an arbitrary object containing information about the "place" where this key was exposed.
|
Injector |
getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector.
|
acceptVisitor, applyTo, getSourceList<Element > getElements()
InjectorgetInjector()
Set<Key <?>> getExposedKeys()
ObjectgetExposedSource(Key <?> key)
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.