addTypeParameter

open fun addTypeParameter(recordDeclaration: RecordDeclaration, typeParameters: List<ParameterizedType>)

Adds a List of ParameterizedType to recordToTypeParameters

Parameters

recordDeclaration

will be stored as key for the map

typeParameters

List containing all ParameterizedTypes used by the recordDeclaration and will be stored as value in the map


open fun addTypeParameter(templateDeclaration: TemplateDeclaration, typeParameter: ParameterizedType)

Adds ParameterizedType to the templateToTypeParameters to be able to resolve this type when it is used

Parameters

templateDeclaration

key for templateToTypeParameters

typeParameter

ParameterizedType we want to register