add Type Parameter
open fun addTypeParameter(recordDeclaration: RecordDeclaration, typeParameters: List<ParameterizedType>)
Adds a List of ParameterizedType to recordToTypeParameters
Parameters
record Declaration
will be stored as key for the map
type Parameters
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
template Declaration
key for templateToTypeParameters
type Parameter
ParameterizedType we want to register