private static int getStackSize(Class[] classes) { int size = 0; for (int i = 0; i < classes.length; i++) { size += getStackSize(classes[i]); } return size;
private static int getStackSize(Class clazz) { return getType(clazz).getSize();
    private static int getStackSize(Class[] classes) {        int size = 0;        for (int i = 0; i < classes.length; i++) {            size += getStackSize(classes[i]);        }        return size;    }