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