sb.trimToSize();
    public String toString() {        StringBuffer sb = new StringBuffer();        for (Entry<String, Set<Class<? extends IMarkerResolution>>> entry : resolutionClasses.entrySet()) {            final String bugType = entry.getKey();            sb.append(bugType, 0, bugType.length());            sb.append(" { ");            for (Class<? extends IMarkerResolution> resolutionClass : entry.getValue()) {                sb.append(resolutionClass.getName());                sb.append(", ");            }            sb.replace(sb.length() - 2, sb.length(), " }\n");        }        sb.trimToSize();        return sb.toString();    }