Package com.google.inject.internal
Enum InternalFlags.CustomClassLoadingOption
- java.lang.Object
-
- java.lang.Enum<InternalFlags.CustomClassLoadingOption>
-
- com.google.inject.internal.InternalFlags.CustomClassLoadingOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InternalFlags.CustomClassLoadingOption>
- Enclosing class:
- InternalFlags
public static enum InternalFlags.CustomClassLoadingOption extends java.lang.Enum<InternalFlags.CustomClassLoadingOption>
The options for Guice custom class loading.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalFlags.CustomClassLoadingOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InternalFlags.CustomClassLoadingOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final InternalFlags.CustomClassLoadingOption OFF
No custom class loading
-
BRIDGE
public static final InternalFlags.CustomClassLoadingOption BRIDGE
Automatically bridge between class loaders (Default)
-
-
Method Detail
-
values
public static InternalFlags.CustomClassLoadingOption[] 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 (InternalFlags.CustomClassLoadingOption c : InternalFlags.CustomClassLoadingOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalFlags.CustomClassLoadingOption 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
-
-