public static enum ReflectionSupport.ParameterConversionCategory extends Enum<ReflectionSupport.ParameterConversionCategory>
Enum Constant and Description |
---|
BOXING
Boxing conversion from a primitive type to its wrapper.
|
BOXING_WITH_REFERENCE_WIDENING
Boxing followed by a reference widening conversion.
|
CANNOT_CONVERT
No method invocation conversion possible.
|
IDENTITY_CONVERSION
The formal and actual types are the same.
|
PRIMITIVE_WIDENING
Widening conversion from one primitive type to another.
|
REFERENCE_WIDENING
Widening conversion from one reference type to another.
|
UNBOXING
Unboxing conversion from a wrapper type to its primitive.
|
UNBOXING_WITH_PRIMITIVE_WIDENING
Unboxing followed by a primitive widening conversion.
|
Modifier and Type | Method and Description |
---|---|
static ReflectionSupport.ParameterConversionCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectionSupport.ParameterConversionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReflectionSupport.ParameterConversionCategory IDENTITY_CONVERSION
public static final ReflectionSupport.ParameterConversionCategory PRIMITIVE_WIDENING
public static final ReflectionSupport.ParameterConversionCategory REFERENCE_WIDENING
public static final ReflectionSupport.ParameterConversionCategory BOXING
public static final ReflectionSupport.ParameterConversionCategory UNBOXING
public static final ReflectionSupport.ParameterConversionCategory BOXING_WITH_REFERENCE_WIDENING
public static final ReflectionSupport.ParameterConversionCategory UNBOXING_WITH_PRIMITIVE_WIDENING
public static final ReflectionSupport.ParameterConversionCategory CANNOT_CONVERT
public static ReflectionSupport.ParameterConversionCategory[] values()
for (ReflectionSupport.ParameterConversionCategory c : ReflectionSupport.ParameterConversionCategory.values()) System.out.println(c);
public static ReflectionSupport.ParameterConversionCategory 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