Package jnr.ffi.provider
Class NativeFunction
- java.lang.Object
-
- jnr.ffi.provider.NativeFunction
-
public final class NativeFunction extends Object
-
-
Constructor Summary
Constructors Constructor Description NativeFunction(Method method, CallingConvention callingConvention)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>
annotations()
CallingConvention
convention()
Method
getMethod()
boolean
hasIgnoreError()
static boolean
hasIgnoreError(Method method)
boolean
hasSaveError()
static boolean
hasSaveError(Method method)
boolean
isErrnoRequired()
String
name()
-
-
-
Constructor Detail
-
NativeFunction
public NativeFunction(Method method, CallingConvention callingConvention)
-
-
Method Detail
-
annotations
public Collection<Annotation> annotations()
-
convention
public CallingConvention convention()
-
name
public String name()
-
isErrnoRequired
public boolean isErrnoRequired()
-
hasSaveError
public boolean hasSaveError()
-
hasIgnoreError
public boolean hasIgnoreError()
-
getMethod
public Method getMethod()
-
hasSaveError
public static boolean hasSaveError(Method method)
-
hasIgnoreError
public static boolean hasIgnoreError(Method method)
-
-