Top Fields Constructors Methods
jnr.ffi.mapper

public Class MethodResultContext

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Collection<Annotation>
getAnnotations()

Implements jnr.ffi.mapper.FromNativeContext.getAnnotations.

Gets a sorted list of annotations
public Method
public Runtime
getRuntime()

Implements jnr.ffi.mapper.FromNativeContext.getRuntime.

Gets the Runtime used for the conversion.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

MethodResultContextback to summary
public MethodResultContext(Runtime runtime, Method method)

Method Detail

getAnnotationsback to summary
public Collection<Annotation> getAnnotations()

Implements jnr.ffi.mapper.FromNativeContext.getAnnotations.

Doc from jnr.ffi.mapper.FromNativeContext.getAnnotations.

Gets a sorted list of annotations

Returns:Collection<Annotation>

a sorted list of annotations for this native type

getMethodback to summary
public Method getMethod()
getRuntimeback to summary
public Runtime getRuntime()

Implements jnr.ffi.mapper.FromNativeContext.getRuntime.

Doc from jnr.ffi.mapper.FromNativeContext.getRuntime.

Gets the Runtime used for the conversion.

Returns:Runtime

The runtime used for the conversion.