java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.google.inject.Stage |
The stage we're running in.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Stage | DEVELOPMENT | We want fast startup times at the expense of runtime performance and some up front error checking. | |||||||||
Stage | PRODUCTION | We want to catch errors as early as possible and take performance hits up front. | |||||||||
Stage | TOOL | We're running in a tool (an IDE plugin for example). |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
We want fast startup times at the expense of runtime performance and some up front error checking.
We want to catch errors as early as possible and take performance hits up front.
We're running in a tool (an IDE plugin for example). We need binding meta data but not a functioning Injector. Do not inject members of instances. Do not load eager singletons. Do as little as possible so our tools run nice and snappy. Injectors created in this stage cannot be used to satisfy injections.