Package jnr.ffi.provider.jffi
Class SimpleNativeContext
- java.lang.Object
-
- jnr.ffi.provider.jffi.SimpleNativeContext
-
- All Implemented Interfaces:
FromNativeContext,ToNativeContext
public class SimpleNativeContext extends Object implements ToNativeContext, FromNativeContext
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>getAnnotations()Gets a sorted list of annotationsRuntimegetRuntime()Gets theRuntimeused for the conversion.
-
-
-
Method Detail
-
getAnnotations
public Collection<Annotation> getAnnotations()
Description copied from interface:ToNativeContextGets a sorted list of annotations- Specified by:
getAnnotationsin interfaceFromNativeContext- Specified by:
getAnnotationsin interfaceToNativeContext- Returns:
- a sorted list of annotations for this native type
-
getRuntime
public final Runtime getRuntime()
Description copied from interface:ToNativeContextGets theRuntimeused for the conversion.- Specified by:
getRuntimein interfaceFromNativeContext- Specified by:
getRuntimein interfaceToNativeContext- Returns:
- The runtime used for the conversion.
-
-