}
private void recordWriteAction(final ObjectAndPersistInfo objectToVisit,
final ObjectClassInfoAndDeclared[] sons) {
final String key = objectToVisit.objectClassInfo.toString();
final MutableInteger numberOfInstance = wroteObjectSet.get(key);
if (numberOfInstance == null) {
wroteObjectSet.put(key, new MutableInteger(1));
} else {
numberOfInstance.increment();
}
if (objectToVisit.isArrayType()) {
final StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append(objectToVisit.toString());
stringBuilder.append(':');