Package jnr.ffi.provider.jffi
Class ReflectionLibraryLoader.LazyLoader<T>
- java.lang.Object
-
- java.util.AbstractMap<java.lang.reflect.Method,Invoker>
-
- jnr.ffi.provider.jffi.ReflectionLibraryLoader.LazyLoader<T>
-
- All Implemented Interfaces:
java.util.Map<java.lang.reflect.Method,Invoker>
- Enclosing class:
- ReflectionLibraryLoader
private static final class ReflectionLibraryLoader.LazyLoader<T> extends java.util.AbstractMap<java.lang.reflect.Method,Invoker>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classReflectionLibraryLoader.LazyLoader.VariableAcccessorInvoker
-
Field Summary
Fields Modifier and Type Field Description private AsmClassLoaderclassLoaderprivate FunctionMapperfunctionMapperprivate java.lang.Class<T>interfaceClassprivate DefaultInvokerFactoryinvokerFactoryprivate NativeLibrarylibraryprivate CallingConventionlibraryCallingConventionprivate booleanlibraryIsSynchronizedprivate java.util.Map<LibraryOption,?>libraryOptionsprivate Runtimeruntimeprivate SignatureTypeMappertypeMapper
-
Constructor Summary
Constructors Modifier Constructor Description privateLazyLoader(NativeLibrary library, java.lang.Class<T> interfaceClass, java.util.Map<LibraryOption,?> libraryOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.util.Map.Entry<java.lang.reflect.Method,Invoker>>entrySet()Invokerget(java.lang.Object key)private InvokergetVariableAccessor(java.lang.reflect.Method method)-
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
-
-
-
-
Field Detail
-
invokerFactory
private final DefaultInvokerFactory invokerFactory
-
runtime
private final Runtime runtime
-
classLoader
private final AsmClassLoader classLoader
-
typeMapper
private final SignatureTypeMapper typeMapper
-
functionMapper
private final FunctionMapper functionMapper
-
libraryCallingConvention
private final CallingConvention libraryCallingConvention
-
libraryIsSynchronized
private final boolean libraryIsSynchronized
-
library
private final NativeLibrary library
-
interfaceClass
private final java.lang.Class<T> interfaceClass
-
libraryOptions
private final java.util.Map<LibraryOption,?> libraryOptions
-
-
Constructor Detail
-
LazyLoader
private LazyLoader(NativeLibrary library, java.lang.Class<T> interfaceClass, java.util.Map<LibraryOption,?> libraryOptions)
-
-