new Integer(annotationCount.intValue()+1);
new Long(annotationCount.longValue()+1);
    public void setAnnotations(Set newValue)    {        Set currentValue = getAnnotations();         SetMutator m = new SetMutator(currentValue, newValue);                while (m.moreDeletions())        {            setDirty(true);            asImage().removeImageAnnotation(                        m.nextDeletion().asImageAnnotation());            annotationCount = annotationCount == null ? null :                    new Integer(annotationCount.intValue()-1);        }                while (m.moreAdditions()) {            setDirty(true);            asImage().addImageAnnotation(m.nextAddition().asImageAnnotation());            annotationCount =  annotationCount == null ? null :                new Integer(annotationCount.intValue()+1);        }        annotations = m.result();    }