if (useTransients || !Modifier.isTransient(f.getModifiers())) { if (!Modifier.isStatic(f.getModifiers())) { try { builder.append(f.getName(), f.get(object)); } catch (IllegalAccessException ex) {   }
if ((f.getName().indexOf('$') == -1) && (useTransients || !Modifier.isTransient(f.getModifiers())) && (!Modifier.isStatic(f.getModifiers()))) { try { builder.append(f.getName(), f.get(object)); } catch (IllegalAccessException ex) {   throw new InternalError("Unexpected IllegalAccessException");
    private static void reflectionAppend(Object object, Class clazz, ToStringBuilder builder, boolean useTransients) {        Field[] fields = clazz.getDeclaredFields();        Field.setAccessible(fields, true);        for (int i = 0; i < fields.length; i++) {            Field f = fields[i];            if (useTransients || !Modifier.isTransient(f.getModifiers())) {                if (!Modifier.isStatic(f.getModifiers())) {                    try {                        builder.append(f.getName(), f.get(object));                    } catch (IllegalAccessException ex) {                        //this can't happen. Would get a Security exception instead                        //throw a runtime exception in case the impossible happens.                    }                }            }        }     }