Package com.kenai.jffi
Class InvokeDynamicSupport.JSR292
- java.lang.Object
-
- com.kenai.jffi.InvokeDynamicSupport.JSR292
-
- Enclosing class:
- InvokeDynamicSupport
static final class InvokeDynamicSupport.JSR292 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Method
insertArguments
(package private) static InvokeDynamicSupport.JSR292
INSTANCE
private java.lang.Object
lookup
private java.lang.Class
methodHandles
private java.lang.reflect.Method
unreflect
-
Constructor Summary
Constructors Constructor Description JSR292(java.lang.Object lookup, java.lang.reflect.Method unreflect, java.lang.Class methodHandles, java.lang.reflect.Method insertArguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static InvokeDynamicSupport.JSR292
getInstance()
java.lang.Object
insertArguments(java.lang.Object methodHandle, int index, java.lang.Object... values)
(package private) static boolean
isAvailable()
java.lang.Object
unreflect(java.lang.reflect.Method m)
-
-
-
Field Detail
-
INSTANCE
static final InvokeDynamicSupport.JSR292 INSTANCE
-
lookup
private final java.lang.Object lookup
-
unreflect
private final java.lang.reflect.Method unreflect
-
methodHandles
private final java.lang.Class methodHandles
-
insertArguments
private final java.lang.reflect.Method insertArguments
-
-
Method Detail
-
isAvailable
static boolean isAvailable()
-
getInstance
private static InvokeDynamicSupport.JSR292 getInstance()
-
unreflect
public java.lang.Object unreflect(java.lang.reflect.Method m) throws java.lang.Exception
- Throws:
java.lang.Exception
-
insertArguments
public java.lang.Object insertArguments(java.lang.Object methodHandle, int index, java.lang.Object... values) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-