@HashCodeAndEqualsPlugin.Enhance 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.CreationAction, 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 |
---|---|
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.
|
public Class<?> returnType(Object methodType)
JavaConstant.MethodType.Dispatcher
returnType
in interface JavaConstant.MethodType.Dispatcher
methodType
- An instance of java.lang.invoke.MethodType
.public Class<?>[] parameterArray(Object methodType)
JavaConstant.MethodType.Dispatcher
parameterArray
in interface JavaConstant.MethodType.Dispatcher
methodType
- An instance of java.lang.invoke.MethodType
.Copyright © 2014–2018. All rights reserved.