public final enum

Stage

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.inject.Stage

Class Overview

The stage we're running in.

Summary

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
static Stage valueOf(String name)
final static Stage[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Stage DEVELOPMENT

Since: API Level

We want fast startup times at the expense of runtime performance and some up front error checking.

public static final Stage PRODUCTION

Since: API Level

We want to catch errors as early as possible and take performance hits up front.

public static final Stage TOOL

Since: API Level

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.

Public Methods

public static Stage valueOf (String name)

public static final Stage[] values ()