protected static interface JavaInstance.MethodType.Dispatcher
java.lang.invoke.MethodType
instance.Modifier and Type | Interface and Description |
---|---|
static class |
JavaInstance.MethodType.Dispatcher.ForLegacyVm
A dispatcher for virtual machines that are not aware of the
java.lang.invoke.MethodType type that was added in Java version 7. |
static class |
JavaInstance.MethodType.Dispatcher.ForModernVm
A dispatcher for virtual machines that are aware of the
java.lang.invoke.MethodType type that was added in Java version 7. |
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.
|
Copyright © 2014–2015. All rights reserved.