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