String () { StringBuilder sb = new StringBuilder("modifiers("); Iterator<ModifierRestriction> iter = myModifierRestrictions.iterator(); while (iter.hasNext()) { ModifierRestriction rest = iter.next(); sb.append(rest.modifierName).append("=").append(rest.isSet); if (iter.hasNext()) { sb.append(", "); } } sb.append(")"); return sb.toString(); }