public static enum ReflectionSupport.ParameterAcceptanceCategory extends Enum<ReflectionSupport.ParameterAcceptanceCategory>
Enum Constant and Description |
---|
ACCEPTS_WITH_BOXING
The method will accept the parameters with identity or widening
conversions, but also requires auto-boxing or unboxing for one
or more of the parameters.
|
ACCEPTS_WITHOUT_BOXING
The method will accept the parameters with identity or widening
conversions, but does not require auto-boxing or unboxing.
|
DOES_NOT_ACCEPT
The method will not accept the parameters.
|
Modifier and Type | Method and Description |
---|---|
static ReflectionSupport.ParameterAcceptanceCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectionSupport.ParameterAcceptanceCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReflectionSupport.ParameterAcceptanceCategory DOES_NOT_ACCEPT
public static final ReflectionSupport.ParameterAcceptanceCategory ACCEPTS_WITHOUT_BOXING
public static final ReflectionSupport.ParameterAcceptanceCategory ACCEPTS_WITH_BOXING
public static ReflectionSupport.ParameterAcceptanceCategory[] values()
for (ReflectionSupport.ParameterAcceptanceCategory c : ReflectionSupport.ParameterAcceptanceCategory.values()) System.out.println(c);
public static ReflectionSupport.ParameterAcceptanceCategory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null