public static enum AssignableFilter.Require extends java.lang.Enum<AssignableFilter.Require>
Enum Constant and Description |
---|
EXACT_TYPE
Requires a static type reference.
|
INSTANCE
Requires either a value or a variable.
|
IS_INTERFACE
Only match types that are interfaces.
|
METHOD_CONVERSION
Apply method conversion, not the default assignment conversion.
|
NOT_NULL
Do not match the null type.
|
NOT_PRIMITIVE
Do not match primitives.
|
PRIMITIVES_OR_UNBOX
Match primitives or types that can be unboxed to a primitive.
|
REVERSE
Reverses the assignment match.
|
TYPE
Requires a static type reference.
|
Modifier and Type | Method and Description |
---|---|
static AssignableFilter.Require |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssignableFilter.Require[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssignableFilter.Require INSTANCE
public static final AssignableFilter.Require TYPE
public static final AssignableFilter.Require EXACT_TYPE
public static final AssignableFilter.Require REVERSE
public static final AssignableFilter.Require NOT_NULL
public static final AssignableFilter.Require NOT_PRIMITIVE
public static final AssignableFilter.Require PRIMITIVES_OR_UNBOX
public static final AssignableFilter.Require IS_INTERFACE
public static final AssignableFilter.Require METHOD_CONVERSION
public static AssignableFilter.Require[] values()
for (AssignableFilter.Require c : AssignableFilter.Require.values()) System.out.println(c);
public static AssignableFilter.Require valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null