addType

fun <T : Definition> addType(type: T, target: ArrayList<T>, typeCategory: String)