Top Fields Constructors Methods
org.lwjgl.util.generator

public Class TypeInfo

extends Object
Class Inheritance
Imports
org.lwjgl.PointerBuffer, org.lwjgl.util.generator.opengl.GLvoid, java.lang.annotation.Annotation, java.nio.*, java.util.*, javax.lang.model.element.AnnotationMirror, .ExecutableElement, .VariableElement, javax.lang.model.type.TypeKind, .TypeMirror

Field Summary

Modifier and TypeField and Description
private final String
private final Signedness
private final Class<T>
public static final String

Constructor Summary

AccessConstructor and Description
private
TypeInfo(Class<T> type, Signedness signedness, String auto_type)

Method Summary

Modifier and TypeMethod and Description
public String
private static Class<T>
private static void
getCrossProductRecursive(int index, List<? extends VariableElement> parameters, Map<VariableElement, Collection<TypeInfo>> typeinfos_map, Map<VariableElement, TypeInfo> current_instance, Collection<Map<VariableElement, TypeInfo>> cross_product)

private static TypeInfo
public static Map<VariableElement, TypeInfo>
public Signedness
public Class<T>
private static Class<T>
public static Collection<Map<VariableElement, TypeInfo>>
private static Map<VariableElement, Collection<TypeInfo>>
private static Collection<TypeInfo>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

auto_typeback to summary
private final String auto_type
signednessback to summary
private final Signedness signedness
typeback to summary
private final Class<T> type
UNSIGNED_PARAMETER_NAMEback to summary
public static final String UNSIGNED_PARAMETER_NAME

Constructor Detail

TypeInfoback to summary
private TypeInfo(Class<T> type, Signedness signedness, String auto_type)

Method Detail

getAutoTypeback to summary
public String getAutoType()
getBufferTypeFromPrimitiveKindback to summary
private static Class<T> getBufferTypeFromPrimitiveKind(TypeKind kind, AnnotationMirror annotation)
getCrossProductRecursiveback to summary
private static void getCrossProductRecursive(int index, List<? extends VariableElement> parameters, Map<VariableElement, Collection<TypeInfo>> typeinfos_map, Map<VariableElement, TypeInfo> current_instance, Collection<Map<VariableElement, TypeInfo>> cross_product)
getDefaultTypeInfoback to summary
private static TypeInfo getDefaultTypeInfo(TypeMirror t)
getDefaultTypeInfoMapback to summary
public static Map<VariableElement, TypeInfo> getDefaultTypeInfoMap(ExecutableElement method)
getSignednessback to summary
public Signedness getSignedness()
getTypeback to summary
public Class<T> getType()
getTypeFromPrimitiveKindback to summary
private static Class<T> getTypeFromPrimitiveKind(TypeKind kind)
getTypeInfoCrossProductback to summary
public static Collection<Map<VariableElement, TypeInfo>> getTypeInfoCrossProduct(TypeMap type_map, ExecutableElement method)
getTypeInfoMapback to summary
private static Map<VariableElement, Collection<TypeInfo>> getTypeInfoMap(TypeMap type_map, ExecutableElement method)
getTypeInfosback to summary
private static Collection<TypeInfo> getTypeInfos(TypeMap type_map, VariableElement param)