Trying to create this:
class Widget
{
public Widget(Object type)
{
Object typeCheck = type.getClass();
(typeCheck class)[] = new (typeCheck class)[0];
{
}
Where getting the type of typeCheck and using that to create an array is the troublesome bit. Is there an actual logical way to do this? Or should I just parse the result of getClass() and do it that way?