public static class JavaInstance.MethodHandle.Dispatcher.ForJava7CapableVm extends JavaInstance.MethodHandle.Dispatcher.AbstractBase implements PrivilegedAction<JavaInstance.MethodHandle.Dispatcher>
JavaInstance.MethodHandle.Dispatcher.AbstractBase, JavaInstance.MethodHandle.Dispatcher.ForJava7CapableVm, JavaInstance.MethodHandle.Dispatcher.ForJava8CapableVm, JavaInstance.MethodHandle.Dispatcher.ForLegacyVm, JavaInstance.MethodHandle.Dispatcher.Initializable
getDeclaringClass, getMethodType, getName, getReferenceKind, parameterArray, publicLookup, returnType
Modifier | Constructor and Description |
---|---|
protected |
ForJava7CapableVm(Method publicLookup,
Method getName,
Method getDeclaringClass,
Method getReferenceKind,
Method getMethodType,
Method returnType,
Method parameterArray,
Constructor<?> methodInfo)
Creates a dispatcher for an intermediate VM.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
JavaInstance.MethodHandle.Dispatcher |
initialize(AccessControlContext accessControlContext)
Initializes the dispatcher, if required.
|
Object |
reveal(Object lookup,
Object methodHandle) |
JavaInstance.MethodHandle.Dispatcher |
run() |
String |
toString() |
getDeclaringClass, getMethodType, getName, getReferenceKind, parameterArray, publicLookup, returnType
protected ForJava7CapableVm(Method publicLookup, Method getName, Method getDeclaringClass, Method getReferenceKind, Method getMethodType, Method returnType, Method parameterArray, Constructor<?> methodInfo)
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
.methodInfo
- A reference to the java.lang.invoke.MethodInfo
constructor.public JavaInstance.MethodHandle.Dispatcher initialize(AccessControlContext accessControlContext)
JavaInstance.MethodHandle.Dispatcher.Initializable
initialize
in interface JavaInstance.MethodHandle.Dispatcher.Initializable
accessControlContext
- The access control context to be used for introspecting private APIs, if required.public JavaInstance.MethodHandle.Dispatcher run()
run
in interface PrivilegedAction<JavaInstance.MethodHandle.Dispatcher>
public Object reveal(Object lookup, Object methodHandle)
reveal
in interface JavaInstance.MethodHandle.Dispatcher
public boolean equals(Object other)
equals
in class JavaInstance.MethodHandle.Dispatcher.AbstractBase
public int hashCode()
hashCode
in class JavaInstance.MethodHandle.Dispatcher.AbstractBase
Copyright © 2014–2016. All rights reserved.