Added handling for ParameterizedTypes in importsForTypeDefinition (and tests)
Added tests for method's imports