Package jnr.ffi.mapper
Class MethodResultContext
- java.lang.Object
-
- jnr.ffi.mapper.MethodResultContext
-
- All Implemented Interfaces:
FromNativeContext
public class MethodResultContext extends java.lang.Object implements FromNativeContext
-
-
Constructor Summary
Constructors Constructor Description MethodResultContext(Runtime runtime, java.lang.reflect.Method method)
-
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 annotationsjava.lang.reflect.Method
getMethod()
Runtime
getRuntime()
Gets theRuntime
used for the conversion.
-
-
-
Constructor Detail
-
MethodResultContext
public MethodResultContext(Runtime runtime, java.lang.reflect.Method method)
-
-
Method Detail
-
getMethod
public java.lang.reflect.Method getMethod()
-
getAnnotations
public java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
Description copied from interface:FromNativeContext
Gets a sorted list of annotations- Specified by:
getAnnotations
in interfaceFromNativeContext
- Returns:
- a sorted list of annotations for this native type
-
getRuntime
public Runtime getRuntime()
Description copied from interface:FromNativeContext
Gets theRuntime
used for the conversion.- Specified by:
getRuntime
in interfaceFromNativeContext
- Returns:
- The runtime used for the conversion.
-
-