Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Field and Description |
---|---|
(package private) static GuiceInternal |
GuiceInternal.GUICE_INTERNAL |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<Message> |
BindingSourceRestriction.check(GuiceInternal guiceInternal,
java.util.List<Element> elements)
Returns all the restriction violations found on the given Module Elements, as error messages.
|
static java.util.Optional<java.lang.String> |
BindingSourceRestriction.getMissingImplementationSuggestion(GuiceInternal guiceInternal,
Key<?> key)
Returns a suggestion for how a restricted binding should be created in case it's missing.
|
static Binder |
Elements.withTrustedSource(GuiceInternal guiceInternal,
Binder binder,
java.lang.Object source)
Internal version of Binder.withSource for establishing a trusted ElementSource chain for
source-restricting bindings that are re-written using
Element.applyTo(com.google.inject.Binder) . |
Constructor and Description |
---|
Message(GuiceInternal internalOnly,
ErrorId errorId,
ErrorDetail<?> errorDetail) |