Package com.google.inject.internal
Enum Class InjectorImpl.JitLimitation
- All Implemented Interfaces:
Serializable
,Comparable<InjectorImpl.JitLimitation>
,Constable
- Enclosing class:
- InjectorImpl
some limitations on what just in time bindings are allowed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionallows existing just in time bindings, but does not allow new onesallows existing just in time bindings & allows new ones to be createddoes not allow just in time bindings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InjectorImpl.JitLimitation
Returns the enum constant of this class with the specified name.static InjectorImpl.JitLimitation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_JIT
does not allow just in time bindings -
EXISTING_JIT
allows existing just in time bindings, but does not allow new ones -
NEW_OR_EXISTING_JIT
allows existing just in time bindings & allows new ones to be created
-
-
Constructor Details
-
JitLimitation
private JitLimitation()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-