XmiSerializationSharedData sharedData) {
super();
this.ch = ch;
this.eh = eh;
this.cas = cas;
this.visited = new IntRedBlackTree();
this.queue = new IntStack();
this.indexedFSs = new IntVector();
// this.sofaTypeCode = cas.getTypeSystemImpl().getTypeCode(CAS.TYPE_NAME_SOFA);
// this.annotationTypeCode = cas.getTypeSystemImpl().getTypeCode(CAS.TYPE_NAME_ANNOTATION);
this.listUtils = new ListUtils(cas, logger, eh);
this.arrayAndListFSs = new IntRedBlackTree();
this.sharedData = sharedData;
this.isFiltering = filterTypeSystem != null && filterTypeSystem != cas.getTypeSystemImpl();
}