protected static interface JavaConstant.MethodType.Dispatcher
java.lang.invoke.MethodType
instance.Modifier and Type | Interface and Description |
---|---|
static class |
JavaConstant.MethodType.Dispatcher.CreationAction
A creation action for a dispatcher.
|
static class |
JavaConstant.MethodType.Dispatcher.ForJava7CapableVm
A dispatcher for virtual machines that are aware of the
java.lang.invoke.MethodType type that was added in Java version 7. |
static class |
JavaConstant.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. |
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.
|
java.lang.Class<?> returnType(java.lang.Object methodType)
methodType
- An instance of java.lang.invoke.MethodType
.java.lang.Class<?>[] parameterArray(java.lang.Object methodType)
methodType
- An instance of java.lang.invoke.MethodType
.