public static class JavaConstant.MethodType.Dispatcher.ForJava7CapableVm extends Object implements JavaConstant.MethodType.Dispatcher
java.lang.invoke.MethodType type that was added in Java version 7.JavaConstant.MethodType.Dispatcher.ForJava7CapableVm, JavaConstant.MethodType.Dispatcher.ForLegacyVm| Modifier | Constructor and Description |
|---|---|
protected |
ForJava7CapableVm(Method returnType,
Method parameterArray)
Creates a new dispatcher for a modern JVM.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
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.
|
String |
toString() |
public Class<?> returnType(Object methodType)
JavaConstant.MethodType.DispatcherreturnType in interface JavaConstant.MethodType.DispatchermethodType - An instance of java.lang.invoke.MethodType.public Class<?>[] parameterArray(Object methodType)
JavaConstant.MethodType.DispatcherparameterArray in interface JavaConstant.MethodType.DispatchermethodType - An instance of java.lang.invoke.MethodType.Copyright © 2014–2016. All rights reserved.