check type for constants in DataFlowUtils
rename, removed unnecessary methods, improved test
(functionality returned)
the case when type parameter has number value types (constants) as lower bounds should be handled specially, because upper bound for primitive number types is 'Number', but by default we want Int (or Long)