Package jnr.ffi.mapper
Class MethodResultContext
- java.lang.Object
-
- jnr.ffi.mapper.MethodResultContext
-
- All Implemented Interfaces:
FromNativeContext
public class MethodResultContext extends Object implements FromNativeContext
-
-
Constructor Summary
Constructors Constructor Description MethodResultContext(Runtime runtime, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>getAnnotations()Gets a sorted list of annotationsMethodgetMethod()RuntimegetRuntime()Gets theRuntimeused for the conversion.
-
-
-
Method Detail
-
getMethod
public Method getMethod()
-
getAnnotations
public Collection<Annotation> getAnnotations()
Description copied from interface:FromNativeContextGets a sorted list of annotations- Specified by:
getAnnotationsin interfaceFromNativeContext- Returns:
- a sorted list of annotations for this native type
-
getRuntime
public Runtime getRuntime()
Description copied from interface:FromNativeContextGets theRuntimeused for the conversion.- Specified by:
getRuntimein interfaceFromNativeContext- Returns:
- The runtime used for the conversion.
-
-