jnr.ffi.mapper
Class MethodResultContext

java.lang.Object
  extended by jnr.ffi.mapper.MethodResultContext
All Implemented Interfaces:
FromNativeContext

public class MethodResultContext
extends Object
implements FromNativeContext


Constructor Summary
MethodResultContext(Runtime runtime, Method method)
           
 
Method Summary
 Collection<Annotation> getAnnotations()
          Gets a sorted list of annotations
 Method getMethod()
           
 Runtime getRuntime()
          Gets the Runtime used for the conversion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodResultContext

public MethodResultContext(Runtime runtime,
                           Method method)
Method Detail

getMethod

public Method getMethod()

getAnnotations

public Collection<Annotation> getAnnotations()
Description copied from interface: FromNativeContext
Gets a sorted list of annotations

Specified by:
getAnnotations in interface FromNativeContext
Returns:
a sorted list of annotations for this native type

getRuntime

public Runtime getRuntime()
Description copied from interface: FromNativeContext
Gets the Runtime used for the conversion.

Specified by:
getRuntime in interface FromNativeContext
Returns:
The runtime used for the conversion.


Copyright © 2013. All Rights Reserved.