Top Fields Constructors Methods
jnr.ffi.provider

public final Class NativeFunction

extends Object
Class Inheritance
Imports
jnr.ffi.CallingConvention, jnr.ffi.annotations.IgnoreError, .SaveError, java.lang.annotation.Annotation, java.lang.reflect.Method, java.util.Arrays, .Collection, .Collections

Field Summary

Modifier and TypeField and Description
private final Collection<Annotation>
private final CallingConvention
private final boolean
private final Method
private final boolean

Constructor Summary

AccessConstructor and Description
public
NativeFunction(Method method, CallingConvention callingConvention)

Method Summary

Modifier and TypeMethod and Description
public Collection<Annotation>
public CallingConvention
public Method
public boolean
public static boolean
public boolean
public static boolean
public boolean
public String
name()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationsback to summary
private final Collection<Annotation> annotations
callingConventionback to summary
private final CallingConvention callingConvention
ignoreErrorback to summary
private final boolean ignoreError
methodback to summary
private final Method method
saveErrorback to summary
private final boolean saveError

Constructor Detail

NativeFunctionback to summary
public NativeFunction(Method method, CallingConvention callingConvention)

Method Detail

annotationsback to summary
public Collection<Annotation> annotations()
conventionback to summary
public CallingConvention convention()
getMethodback to summary
public Method getMethod()
hasIgnoreErrorback to summary
public boolean hasIgnoreError()
hasIgnoreErrorback to summary
public static boolean hasIgnoreError(Method method)
hasSaveErrorback to summary
public boolean hasSaveError()
hasSaveErrorback to summary
public static boolean hasSaveError(Method method)
isErrnoRequiredback to summary
public boolean isErrnoRequired()
nameback to summary
public String name()