Package com.google.inject.internal
Enum ErrorId
- java.lang.Object
-
- java.lang.Enum<ErrorId>
-
- com.google.inject.internal.ErrorId
-
- All Implemented Interfaces:
Serializable
,Comparable<ErrorId>
public enum ErrorId extends Enum<ErrorId>
Enum used to identify a specific Guice error.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorId
valueOf(String name)
Returns the enum constant of this type with the specified name.static ErrorId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMBIGUOUS_TYPE_CONVERSION
public static final ErrorId AMBIGUOUS_TYPE_CONVERSION
-
AOP_DISABLED
public static final ErrorId AOP_DISABLED
-
AT_INJECT_REQUIRED
public static final ErrorId AT_INJECT_REQUIRED
-
BINDING_ALREADY_SET
public static final ErrorId BINDING_ALREADY_SET
-
BINDING_TO_GUICE_TYPE
public static final ErrorId BINDING_TO_GUICE_TYPE
-
BINDING_TO_PROVIDER
public static final ErrorId BINDING_TO_PROVIDER
-
CAN_NOT_PROXY_CLASS
public static final ErrorId CAN_NOT_PROXY_CLASS
-
CHILD_BINDING_ALREADY_SET
public static final ErrorId CHILD_BINDING_ALREADY_SET
-
CIRCULAR_PROXY_DISABLED
public static final ErrorId CIRCULAR_PROXY_DISABLED
-
CONSTRUCTOR_NOT_DEFINED_BY_TYPE
public static final ErrorId CONSTRUCTOR_NOT_DEFINED_BY_TYPE
-
CONVERSION_TYPE_ERROR
public static final ErrorId CONVERSION_TYPE_ERROR
-
CONVERTER_RETURNED_NULL
public static final ErrorId CONVERTER_RETURNED_NULL
-
DUPLICATE_BINDING_ANNOTATIONS
public static final ErrorId DUPLICATE_BINDING_ANNOTATIONS
-
DUPLICATE_ELEMENT
public static final ErrorId DUPLICATE_ELEMENT
-
DUPLICATE_MAP_KEY
public static final ErrorId DUPLICATE_MAP_KEY
-
DUPLICATE_SCOPES
public static final ErrorId DUPLICATE_SCOPES
-
DUPLICATE_SCOPE_ANNOTATIONS
public static final ErrorId DUPLICATE_SCOPE_ANNOTATIONS
-
ERROR_ENHANCING_CLASS
public static final ErrorId ERROR_ENHANCING_CLASS
-
ERROR_INJECTING_CONSTRUCTOR
public static final ErrorId ERROR_INJECTING_CONSTRUCTOR
-
ERROR_INJECTING_METHOD
public static final ErrorId ERROR_INJECTING_METHOD
-
ERROR_IN_CUSTOM_PROVIDER
public static final ErrorId ERROR_IN_CUSTOM_PROVIDER
-
ERROR_IN_USER_CODE
public static final ErrorId ERROR_IN_USER_CODE
-
ERROR_IN_USER_INJECTOR
public static final ErrorId ERROR_IN_USER_INJECTOR
-
ERROR_NOTIFYING_TYPE_LISTENER
public static final ErrorId ERROR_NOTIFYING_TYPE_LISTENER
-
EXPOSED_BUT_NOT_BOUND
public static final ErrorId EXPOSED_BUT_NOT_BOUND
-
INJECT_ABSTRACT_METHOD
public static final ErrorId INJECT_ABSTRACT_METHOD
-
INJECT_FINAL_FIELD
public static final ErrorId INJECT_FINAL_FIELD
-
INJECT_INNER_CLASS
public static final ErrorId INJECT_INNER_CLASS
-
INJECT_METHOD_WITH_TYPE_PARAMETER
public static final ErrorId INJECT_METHOD_WITH_TYPE_PARAMETER
-
INJECT_RAW_MEMBERS_INJECTOR
public static final ErrorId INJECT_RAW_MEMBERS_INJECTOR
-
INJECT_RAW_PROVIDER
public static final ErrorId INJECT_RAW_PROVIDER
-
INJECT_RAW_TYPE_LITERAL
public static final ErrorId INJECT_RAW_TYPE_LITERAL
-
JIT_BINDING_ALREADY_SET
public static final ErrorId JIT_BINDING_ALREADY_SET
-
JIT_DISABLED
public static final ErrorId JIT_DISABLED
-
JIT_DISABLED_IN_PARENT
public static final ErrorId JIT_DISABLED_IN_PARENT
-
KEY_NOT_FULLY_SPECIFIED
public static final ErrorId KEY_NOT_FULLY_SPECIFIED
-
MISPLACED_BINDING_ANNOTATION
public static final ErrorId MISPLACED_BINDING_ANNOTATION
-
MISSING_CONSTANT_VALUES
public static final ErrorId MISSING_CONSTANT_VALUES
-
MISSING_CONSTRUCTOR
public static final ErrorId MISSING_CONSTRUCTOR
-
MISSING_IMPLEMENTATION
public static final ErrorId MISSING_IMPLEMENTATION
-
MISSING_RUNTIME_RETENTION
public static final ErrorId MISSING_RUNTIME_RETENTION
-
MISSING_SCOPE_ANNOTATION
public static final ErrorId MISSING_SCOPE_ANNOTATION
-
NOT_A_SUBTYPE
public static final ErrorId NOT_A_SUBTYPE
-
NULL_ELEMENT_IN_SET
public static final ErrorId NULL_ELEMENT_IN_SET
-
NULL_INJECTED_INTO_NON_NULLABLE
public static final ErrorId NULL_INJECTED_INTO_NON_NULLABLE
-
NULL_VALUE_IN_MAP
public static final ErrorId NULL_VALUE_IN_MAP
-
OPTIONAL_CONSTRUCTOR
public static final ErrorId OPTIONAL_CONSTRUCTOR
-
RECURSIVE_BINDING
public static final ErrorId RECURSIVE_BINDING
-
RECURSIVE_IMPLEMENTATION_TYPE
public static final ErrorId RECURSIVE_IMPLEMENTATION_TYPE
-
RECURSIVE_PROVIDER_TYPE
public static final ErrorId RECURSIVE_PROVIDER_TYPE
-
SCOPE_ANNOTATION_ON_ABSTRACT_TYPE
public static final ErrorId SCOPE_ANNOTATION_ON_ABSTRACT_TYPE
-
SCOPE_NOT_FOUND
public static final ErrorId SCOPE_NOT_FOUND
-
STATIC_INJECTION_ON_INTERFACE
public static final ErrorId STATIC_INJECTION_ON_INTERFACE
-
SUBTYPE_NOT_PROVIDED
public static final ErrorId SUBTYPE_NOT_PROVIDED
-
TOO_MANY_CONSTRUCTORS
public static final ErrorId TOO_MANY_CONSTRUCTORS
-
VOID_PROVIDER_METHOD
public static final ErrorId VOID_PROVIDER_METHOD
-
OTHER
public static final ErrorId OTHER
-
-
Method Detail
-
values
public static ErrorId[] 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 (ErrorId c : ErrorId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorId valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-