Package com.google.inject.assistedinject
Enum FactoryProvider2.SuperMethodLookup
- java.lang.Object
-
- java.lang.Enum<FactoryProvider2.SuperMethodLookup>
-
- com.google.inject.assistedinject.FactoryProvider2.SuperMethodLookup
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FactoryProvider2.SuperMethodLookup>
- Enclosing class:
- FactoryProvider2<F>
private static enum FactoryProvider2.SuperMethodLookup extends java.lang.Enum<FactoryProvider2.SuperMethodLookup>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIND_SPECIAL
PRIVATE_LOOKUP
UNREFLECT_SPECIAL
-
Constructor Summary
Constructors Modifier Constructor Description private
SuperMethodLookup()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract java.lang.invoke.MethodHandle
superMethodHandle(java.lang.reflect.Method method, java.lang.invoke.MethodHandles.Lookup lookup)
static FactoryProvider2.SuperMethodLookup
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FactoryProvider2.SuperMethodLookup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNREFLECT_SPECIAL
public static final FactoryProvider2.SuperMethodLookup UNREFLECT_SPECIAL
-
FIND_SPECIAL
public static final FactoryProvider2.SuperMethodLookup FIND_SPECIAL
-
PRIVATE_LOOKUP
public static final FactoryProvider2.SuperMethodLookup PRIVATE_LOOKUP
-
-
Method Detail
-
values
public static FactoryProvider2.SuperMethodLookup[] 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 (FactoryProvider2.SuperMethodLookup c : FactoryProvider2.SuperMethodLookup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FactoryProvider2.SuperMethodLookup 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
-
superMethodHandle
abstract java.lang.invoke.MethodHandle superMethodHandle(java.lang.reflect.Method method, java.lang.invoke.MethodHandles.Lookup lookup) throws java.lang.ReflectiveOperationException
- Throws:
java.lang.ReflectiveOperationException
-
-