Top Description Inners Constructors Methods
com.kenai.jffi

public final Class InvokeDynamicSupport

extends Object
Class Inheritance
Imports
java.lang.reflect.Method, java.util.Arrays

Provide a factory for invokedynamic handles that are bound to a particular call context+function

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
pack-priv static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static InvokeDynamicSupport.Invoker
getFastNumericInvoker(CallContext callContext, long function)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

InvokeDynamicSupportback to summary
private InvokeDynamicSupport()

Method Detail

getFastNumericInvokerback to summary
public static InvokeDynamicSupport.Invoker getFastNumericInvoker(CallContext callContext, long function)
com.kenai.jffi back to summary

public final Class InvokeDynamicSupport.Invoker

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Method
private final Object

Constructor Summary

AccessConstructor and Description
pack-priv
Invoker(Method method, Object methodHandle)

Method Summary

Modifier and TypeMethod and Description
public Method
public Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodback to summary
private final Method method
methodHandleback to summary
private final Object methodHandle

Constructor Detail

Invokerback to summary
pack-priv Invoker(Method method, Object methodHandle)

Method Detail

getMethodback to summary
public Method getMethod()
getMethodHandleback to summary
public Object getMethodHandle()
com.kenai.jffi back to summary

pack-priv final Class InvokeDynamicSupport.JSR292

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Method
pack-priv static final InvokeDynamicSupport.JSR292
private final Object
private final Class<T>
private final Method

Constructor Summary

AccessConstructor and Description
pack-priv
JSR292(Object lookup, Method unreflect, Class<T> methodHandles, Method insertArguments)

Method Summary

Modifier and TypeMethod and Description
private static InvokeDynamicSupport.JSR292
public Object
insertArguments(Object methodHandle, int index, Object... values)

pack-priv static boolean
public Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

insertArgumentsback to summary
private final Method insertArguments
INSTANCEback to summary
pack-priv static final InvokeDynamicSupport.JSR292 INSTANCE
lookupback to summary
private final Object lookup
methodHandlesback to summary
private final Class<T> methodHandles
unreflectback to summary
private final Method unreflect

Constructor Detail

JSR292back to summary
pack-priv JSR292(Object lookup, Method unreflect, Class<T> methodHandles, Method insertArguments)

Method Detail

getInstanceback to summary
private static InvokeDynamicSupport.JSR292 getInstance()
insertArgumentsback to summary
public Object insertArguments(Object methodHandle, int index, Object... values) throws Exception
isAvailableback to summary
pack-priv static boolean isAvailable()
unreflectback to summary
public Object unreflect(Method m) throws Exception