Package com.google.inject.internal
Enum Indexer.BindingType
- java.lang.Object
-
- java.lang.Enum<Indexer.BindingType>
-
- com.google.inject.internal.Indexer.BindingType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Indexer.BindingType>
- Enclosing class:
- Indexer
static enum Indexer.BindingType extends java.lang.Enum<Indexer.BindingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTANT
CONSTRUCTOR
EXPOSED
INSTANCE
LINKED_KEY
PROVIDED_BY
PROVIDER_INSTANCE
PROVIDER_KEY
UNTARGETTED
-
Constructor Summary
Constructors Modifier Constructor Description private
BindingType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Indexer.BindingType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Indexer.BindingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Indexer.BindingType INSTANCE
-
PROVIDER_INSTANCE
public static final Indexer.BindingType PROVIDER_INSTANCE
-
PROVIDER_KEY
public static final Indexer.BindingType PROVIDER_KEY
-
LINKED_KEY
public static final Indexer.BindingType LINKED_KEY
-
UNTARGETTED
public static final Indexer.BindingType UNTARGETTED
-
CONSTRUCTOR
public static final Indexer.BindingType CONSTRUCTOR
-
CONSTANT
public static final Indexer.BindingType CONSTANT
-
EXPOSED
public static final Indexer.BindingType EXPOSED
-
PROVIDED_BY
public static final Indexer.BindingType PROVIDED_BY
-
-
Method Detail
-
values
public static Indexer.BindingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Indexer.BindingType c : Indexer.BindingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Indexer.BindingType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-