again adaptation of getAllFunctions with respect to parameterized function types