Top Fields Constructors Methods
jnr.ffi.provider.jffi

public Class SimpleNativeContext

extends Object
implements ToNativeContext, FromNativeContext
Class Inheritance
All Implemented Interfaces
jnr.ffi.mapper.FromNativeContext, jnr.ffi.mapper.ToNativeContext
Imports
jnr.ffi.mapper.FromNativeContext, .ToNativeContext, java.lang.annotation.Annotation, java.util.Collection

Field Summary

Modifier and TypeField and Description
private final Collection<Annotation>
private final Runtime

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Collection<Annotation>
public final Runtime
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationsback to summary
private final Collection<Annotation> annotations
runtimeback to summary
private final Runtime runtime

Constructor Detail

SimpleNativeContextback to summary
pack-priv SimpleNativeContext(Runtime runtime, Collection<Annotation> annotations)

Method Detail

getAnnotationsback to summary
public Collection<Annotation> getAnnotations()

Implements jnr.ffi.mapper.ToNativeContext.getAnnotations, jnr.ffi.mapper.FromNativeContext.getAnnotations.

Doc from jnr.ffi.mapper.ToNativeContext.getAnnotations.

Gets a sorted list of annotations

Returns:Collection<Annotation>

a sorted list of annotations for this native type

getRuntimeback to summary
public final Runtime getRuntime()

Implements jnr.ffi.mapper.ToNativeContext.getRuntime, jnr.ffi.mapper.FromNativeContext.getRuntime.

Doc from jnr.ffi.mapper.ToNativeContext.getRuntime.

Gets the Runtime used for the conversion.

Returns:Runtime

The runtime used for the conversion.