+ if (o instanceof Show) {
+ StringBuffer ret = new StringBuffer();
+ for(Field f : o.getClass().getFields()) {
+ ret.append("\n" + f.getName() + " = ");
+ try {
+ ret.append(show(f.get(o)));
+ } catch (Exception e) {
+ ret.append("**"+e+"**");
+ throw new RuntimeException(e);
+ }
+ }
+ return o.getClass().getName() + " {" + StringUtil.indent(ret.toString(), 4) + "\n}";
+ }