public abstract class NativeClosureProxy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
NativeClosureProxy.Factory |
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.ref.Reference<?> |
closureReference |
static boolean |
DEBUG |
private static java.util.concurrent.atomic.AtomicLong |
nextClassID |
protected Runtime |
runtime |
Modifier | Constructor and Description |
---|---|
protected |
NativeClosureProxy(NativeRuntime runtime) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getCallable() |
(package private) static java.lang.Class |
getNativeClass(NativeType nativeType) |
private static boolean |
isParameterTypeSupported(java.lang.Class type) |
private static boolean |
isReturnTypeSupported(java.lang.Class type) |
(package private) static NativeClosureProxy.Factory |
newProxyFactory(Runtime runtime,
java.lang.reflect.Method callMethod,
ToNativeType resultType,
FromNativeType[] parameterTypes,
AsmClassLoader classLoader) |
protected final Runtime runtime
volatile java.lang.ref.Reference<?> closureReference
public static final boolean DEBUG
private static final java.util.concurrent.atomic.AtomicLong nextClassID
protected NativeClosureProxy(NativeRuntime runtime)
protected java.lang.Object getCallable()
static NativeClosureProxy.Factory newProxyFactory(Runtime runtime, java.lang.reflect.Method callMethod, ToNativeType resultType, FromNativeType[] parameterTypes, AsmClassLoader classLoader)
private static boolean isReturnTypeSupported(java.lang.Class type)
private static boolean isParameterTypeSupported(java.lang.Class type)
static java.lang.Class getNativeClass(NativeType nativeType)