Package jnr.ffi.provider
Class InterfaceScanner
- java.lang.Object
-
- jnr.ffi.provider.InterfaceScanner
-
public class InterfaceScanner extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
InterfaceScanner.FunctionsIterator
private class
InterfaceScanner.VariablesIterator
-
Field Summary
Fields Modifier and Type Field Description private CallingConvention
callingConvention
private java.lang.Class
interfaceClass
private static java.lang.reflect.Method
methodIsDefault
private java.lang.reflect.Method[]
methods
private SignatureTypeMapper
typeMapper
-
Constructor Summary
Constructors Constructor Description InterfaceScanner(java.lang.Class interfaceClass, SignatureTypeMapper typeMapper, CallingConvention callingConvention)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<NativeFunction>
functions()
private static boolean
isDefault(java.lang.reflect.Method method)
java.util.Collection<NativeVariable>
variables()
-
-
-
Field Detail
-
interfaceClass
private final java.lang.Class interfaceClass
-
typeMapper
private final SignatureTypeMapper typeMapper
-
callingConvention
private final CallingConvention callingConvention
-
methods
private final java.lang.reflect.Method[] methods
-
methodIsDefault
private static final java.lang.reflect.Method methodIsDefault
-
-
Constructor Detail
-
InterfaceScanner
public InterfaceScanner(java.lang.Class interfaceClass, SignatureTypeMapper typeMapper, CallingConvention callingConvention)
-
-
Method Detail
-
functions
public java.util.Collection<NativeFunction> functions()
-
variables
public java.util.Collection<NativeVariable> variables()
-
isDefault
private static boolean isDefault(java.lang.reflect.Method method)
-
-