Top Fields Constructors Methods
jnr.ffi.provider.jffi

pack-priv Class Types

extends Object
Class Inheritance
Imports
jnr.ffi.Address, .NativeType, .Pointer, .Type, jnr.ffi.annotations.TypeDefinition, java.lang.annotation.Annotation, java.lang.ref.Reference, .SoftReference, java.nio.Buffer, java.util.Collection, .Collections, .HashMap, .IdentityHashMap, .Map

Field Summary

Modifier and TypeField and Description
private static Reference<Map<Class<T>, Map<Collection<Annotation>, Type>>>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Type
getType(Runtime runtime, Class<T> javaType, Collection<Annotation> annotations)

private static Type
private static synchronized Type
lookupAndCacheType(Runtime runtime, Class<T> javaType, Collection<Annotation> annotations)

pack-priv static Type
lookupType(Runtime runtime, Class<T> type, Collection<Annotation> annotations)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

typeCacheReferenceback to summary
private static Reference<Map<Class<T>, Map<Collection<Annotation>, Type>>> typeCacheReference

Constructor Detail

Typesback to summary
pack-priv Types()

Method Detail

getTypeback to summary
pack-priv static Type getType(Runtime runtime, Class<T> javaType, Collection<Annotation> annotations)
lookupAliasedTypeback to summary
private static Type lookupAliasedType(Runtime runtime, Collection<Annotation> annotations)
lookupAndCacheTypeback to summary
private static synchronized Type lookupAndCacheType(Runtime runtime, Class<T> javaType, Collection<Annotation> annotations)
Annotations
@SuppressWarnings:unchecked
lookupTypeback to summary
pack-priv static Type lookupType(Runtime runtime, Class<T> type, Collection<Annotation> annotations)