public static enum JavaConstant.MethodType.Dispatcher.ForLegacyVm extends java.lang.Enum<JavaConstant.MethodType.Dispatcher.ForLegacyVm> implements JavaConstant.MethodType.Dispatcher
java.lang.invoke.MethodType type that was added in Java version 7.JavaConstant.MethodType.Dispatcher.CreationAction, JavaConstant.MethodType.Dispatcher.ForJava7CapableVm, JavaConstant.MethodType.Dispatcher.ForLegacyVm| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?>[] |
parameterArray(java.lang.Object methodType)
Extracts the parameter types of the supplied method type.
|
java.lang.Class<?> |
returnType(java.lang.Object methodType)
Extracts the return type of the supplied method type.
|
static JavaConstant.MethodType.Dispatcher.ForLegacyVm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaConstant.MethodType.Dispatcher.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaConstant.MethodType.Dispatcher.ForLegacyVm INSTANCE
public static JavaConstant.MethodType.Dispatcher.ForLegacyVm[] values()
for (JavaConstant.MethodType.Dispatcher.ForLegacyVm c : JavaConstant.MethodType.Dispatcher.ForLegacyVm.values()) System.out.println(c);
public static JavaConstant.MethodType.Dispatcher.ForLegacyVm 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 nullpublic java.lang.Class<?> returnType(java.lang.Object methodType)
returnType in interface JavaConstant.MethodType.DispatchermethodType - An instance of java.lang.invoke.MethodType.public java.lang.Class<?>[] parameterArray(java.lang.Object methodType)
parameterArray in interface JavaConstant.MethodType.DispatchermethodType - An instance of java.lang.invoke.MethodType.