| Interface | Description |
|---|---|
| Binding<T> |
Maps a Provider to a type.
|
| Injector |
An injector knows a list of "bindings" that map types to a provider.
|
| Module | |
| Provider<T> |
An object that provides instances given a key and some arguments.
|
| Class | Description |
|---|---|
| AbstractModule |
Modules should extend this class and call the bind() functions to
add bindings.
|
| AbstractParametricCallable |
A base class for commands that use
ArgumentParser. |
| ArgumentParser |
An argument parser takes in a list of tokenized arguments and parses
them, converting them into appropriate Java objects using a provided
Injector. |
| ArgumentParser.Builder |
Builds instances of ArgumentParser.
|
| Key<T> |
Represents a parameter that a binding can provide a value for.
|
| ParametricBuilder |
Keeps a mapping of types to bindings and generates commands from classes
with appropriate annotations.
|
| Exception | Description |
|---|---|
| IllegalParameterException |
Thrown if there is an error with a parameter.
|
| ParametricException |
Thrown if the
ParametricBuilder can't build commands from
an object for whatever reason. |
| ProvisionException |
Thrown when the value for a parameter cannot be provisioned due to errors
that are not related to the parsing of user-provided arguments.
|
Copyright © 2015. All Rights Reserved.