Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds like like "juice")
|
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
Errors.appendModules(java.lang.Object source,
ElementSource elementSource) |
static java.lang.Object |
Errors.convert(java.lang.Object o,
ElementSource source) |
static void |
Errors.formatInjectionPoint(java.util.Formatter formatter,
Dependency<?> dependency,
InjectionPoint injectionPoint,
ElementSource elementSource) |
static void |
Errors.formatSource(java.util.Formatter formatter,
java.lang.Object source,
ElementSource elementSource) |
private static java.lang.String |
Errors.moduleSourceString(ElementSource elementSource) |
Modifier and Type | Field and Description |
---|---|
(package private) ElementSource |
ElementSource.originalElementSource
The
source of element that this element created from (if there is any),
otherwise null . |
Modifier and Type | Method and Description |
---|---|
private ElementSource |
Elements.RecordingBinder.getElementSource() |
ElementSource |
ElementSource.getOriginalElementSource()
Returns the
ElementSource of the element this was created or copied from. |
Constructor and Description |
---|
ElementSource(ElementSource originalSource,
java.lang.Object declaringSource,
ModuleSource moduleSource,
java.lang.StackTraceElement[] partialCallStack)
Creates a new from the given parameters.
|