jnr.ffi.provider.jffi
Class SimpleNativeContext

java.lang.Object
  extended by jnr.ffi.provider.jffi.SimpleNativeContext
All Implemented Interfaces:
FromNativeContext, ToNativeContext

public class SimpleNativeContext
extends Object
implements ToNativeContext, FromNativeContext


Method Summary
 Collection<Annotation> getAnnotations()
          Gets a sorted list of annotations
 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
 

Method Detail

getAnnotations

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

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

getRuntime

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

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


Copyright © 2013. All Rights Reserved.