private int doTwoWordFields(FieldDefsRes res, ClassDoc clazz,
                                int offset, String cname, boolean padWord)
        throws ClassNotFoundException {
        boolean first = true;
        FieldDoc[] fields = clazz.fields();

        for (int i = 0; i <fields.length; i++) {
            FieldDoc field = fields[i];
            String tc =field.type().typeName();
            boolean twoWords = (tc.equals("long") || tc.equals("double"));
            if (twoWords && doField(res, field, cname, first && padWord)) {
                offset += 8; first = false;
            }
        }
        return offset;
    }