@HashCodeAndEqualsPlugin.Enhance public static class JavaConstant.MethodHandle.Dispatcher.ForJava8CapableVm extends JavaConstant.MethodHandle.Dispatcher.AbstractBase
java.lang.invoke.MethodHandle instance on a virtual machine that officially supports this
introspection, i.e. Java versions 8+.JavaConstant.MethodHandle.Dispatcher.AbstractBase, JavaConstant.MethodHandle.Dispatcher.CreationAction, JavaConstant.MethodHandle.Dispatcher.ForJava7CapableVm, JavaConstant.MethodHandle.Dispatcher.ForJava8CapableVm, JavaConstant.MethodHandle.Dispatcher.ForLegacyVm, JavaConstant.MethodHandle.Dispatcher.InitializablegetDeclaringClass, getMethodType, getName, getReferenceKind, lookupClass, parameterArray, publicLookup, returnType| Modifier | Constructor and Description |
|---|---|
protected |
ForJava8CapableVm(Method publicLookup,
Method getName,
Method getDeclaringClass,
Method getReferenceKind,
Method getMethodType,
Method returnType,
Method parameterArray,
Method lookupClass,
Method revealDirect)
Creates a dispatcher for a modern VM.
|
| Modifier and Type | Method and Description |
|---|---|
JavaConstant.MethodHandle.Dispatcher |
initialize()
Initializes the dispatcher, if required.
|
Object |
reveal(Object lookup,
Object methodHandle) |
getDeclaringClass, getMethodType, getName, getReferenceKind, lookupType, parameterArray, publicLookup, returnTypeprotected ForJava8CapableVm(Method publicLookup, Method getName, Method getDeclaringClass, Method getReferenceKind, Method getMethodType, Method returnType, Method parameterArray, Method lookupClass, Method revealDirect)
publicLookup - A reference to java.lang.invoke.MethodHandles#publicLookup.getName - A reference to java.lang.invoke.MethodHandleInfo#getName.getDeclaringClass - A reference to java.lang.invoke.MethodHandleInfo#getDeclaringClass.getReferenceKind - A reference to java.lang.invoke.MethodHandleInfo#getReferenceKind.getMethodType - A reference to java.lang.invoke.MethodHandleInfo#getMethodType.returnType - A reference to java.lang.invoke.MethodType#returnType.parameterArray - A reference to java.lang.invoke.MethodType#parameterArray.lookupClass - A reference to java.lang.invoke.MethodHandles$Lookup#lookupClass method.revealDirect - A reference to the java.lang.invoke.MethodHandles.Lookup#revealDirect method.public JavaConstant.MethodHandle.Dispatcher initialize()
Copyright © 2014–2020. All rights reserved.