| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final AtomicLong |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | generateInvocation(Runtime runtime, AsmBuilder builder, Class<T> closureClass, SignatureTypeMapper typeMapper)
|
| public static FromNativeConverter | getInstance(Runtime runtime, SignatureType type, AsmClassLoader classLoader, SignatureTypeMapper typeMapper)
|
| private static Class | |
| public Class | |
| private static FromNativeConverter | newClosureConverter(Runtime runtime, AsmClassLoader classLoader, Class<T> closureClass, SignatureTypeMapper typeMapper)
|
| nextClassID | back to summary |
|---|---|
| private static final AtomicLong nextClassID | |
| ClosureFromNativeConverter | back to summary |
|---|---|
| public ClosureFromNativeConverter() | |
| generateInvocation | back to summary |
|---|---|
| private static void generateInvocation(Runtime runtime, AsmBuilder builder, Class<T> closureClass, SignatureTypeMapper typeMapper) | |
| getInstance | back to summary |
|---|---|
| public static FromNativeConverter | |
| loadClass | back to summary |
|---|---|
| private static Class | |
| nativeType | back to summary |
|---|---|
| public Class Implements jnr.
| |
| newClosureConverter | back to summary |
|---|---|
| private static FromNativeConverter | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Invoker | |
| protected final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final long | size()
Implements abstract jnr. |
| ffi | back to summary |
|---|---|
| public static final Invoker ffi | |
| functionAddress | back to summary |
|---|---|
| protected final long functionAddress | |
| AbstractClosurePointer | back to summary |
|---|---|
| protected AbstractClosurePointer(Runtime runtime, long functionAddress) | |
| size | back to summary |
|---|---|
| public final long size() Implements abstract jnr. Doc from jnr. Gets the size of this memory object in bytes (optional operation).
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor | |
| private final Object[] | |
| private final Runtime |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | fromNative(Pointer nativeValue, FromNativeContext context)
Implements jnr. |
| closureConstructor | back to summary |
|---|---|
| private final Constructor<T> closureConstructor | |
| initFields | back to summary |
|---|---|
| private final Object[] initFields | |
| runtime | back to summary |
|---|---|
| private final Runtime runtime | |
| ProxyConverter | back to summary |
|---|---|
| public ProxyConverter(Runtime runtime, Constructor<T> closureConstructor, Object[] initFields) | |
| fromNative | back to summary |
|---|---|
| public Object fromNative(Pointer nativeValue, FromNativeContext context) Implements jnr.
| |