Package jnr.ffi.provider.jffi
Class NativeFunctionMapperContext
- java.lang.Object
-
- jnr.ffi.provider.jffi.NativeFunctionMapperContext
-
- All Implemented Interfaces:
FunctionMapper.Context
public final class NativeFunctionMapperContext extends Object implements FunctionMapper.Context
-
-
Constructor Summary
Constructors Constructor Description NativeFunctionMapperContext(NativeLibrary library, Collection<Annotation> annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>
getAnnotations()
Library
getLibrary()
boolean
isSymbolPresent(String name)
-
-
-
Constructor Detail
-
NativeFunctionMapperContext
public NativeFunctionMapperContext(NativeLibrary library, Collection<Annotation> annotations)
-
-
Method Detail
-
getLibrary
public Library getLibrary()
- Specified by:
getLibrary
in interfaceFunctionMapper.Context
-
isSymbolPresent
public boolean isSymbolPresent(String name)
- Specified by:
isSymbolPresent
in interfaceFunctionMapper.Context
-
getAnnotations
public Collection<Annotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceFunctionMapper.Context
-
-