What I\'m trying to do is that I want to transform a Type declaration into a Class and convert them to List. I get all the classes as an array to loop them and assign them to Li