SPRNET-998
Reduced the ambition of the method designed to create the array of constructor args so that it no longer attempts any type-casting. The method takes type object and returns type object so creating typed arrays in the middle of the method isn't needed and leads to several so-called edge-conditions depending on constructor arg types such as the enum array indicated by this issue.
This commit is contained in: