public static enum JavaConstant.MethodType.Dispatcher.ForLegacyVm extends 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 |
|---|---|
Class<?>[] |
parameterArray(Object methodType)
Extracts the parameter types of the supplied method type.
|
Class<?> |
returnType(Object methodType)
Extracts the return type of the supplied method type.
|
static JavaConstant.MethodType.Dispatcher.ForLegacyVm |
valueOf(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(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 nullpublic Class<?> returnType(Object methodType)
returnType in interface JavaConstant.MethodType.DispatchermethodType - An instance of java.lang.invoke.MethodType.public Class<?>[] parameterArray(Object methodType)
parameterArray in interface JavaConstant.MethodType.DispatchermethodType - An instance of java.lang.invoke.MethodType.Copyright © 2014–2019. All rights reserved.