public static enum JReflect.LookupMode extends Enum<JReflect.LookupMode>
ValueConversionHelper for more on the possibilities.
| Enum Constant and Description |
|---|
AUTOBOX
Indicates that looking for methods includes trying to find compatible signatures by autoboxing the specified arguments.
|
CAST_TO_INTERFACE
Indicates that looking for methods includes trying to find compatible signatures by casting the specified arguments to an implemented
interface.
|
CAST_TO_SUPER
Indicates that looking for methods includes trying to find compatible signatures by casting the specified arguments to a super type.
|
COMMON_CONVERT
Indicates that looking for methods includes trying to find compatible signatures by automatically convert the specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static JReflect.LookupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JReflect.LookupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JReflect.LookupMode AUTOBOX
public static final JReflect.LookupMode CAST_TO_SUPER
public static final JReflect.LookupMode CAST_TO_INTERFACE
public static final JReflect.LookupMode COMMON_CONVERT
public static JReflect.LookupMode[] values()
for (JReflect.LookupMode c : JReflect.LookupMode.values()) System.out.println(c);
public static JReflect.LookupMode 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 nullCopyright © 2018. All rights reserved.