public static void writeTypeSystem(CAS aCas, OutputStream aOS, boolean includeIndexDefs) throws IOException { writeJavaObject(includeIndexDefs ? Serialization.serializeCASMgr((CASImpl) aCas) : Serialization.serializeCASMgrTypeSystemOnly((CASImpl) aCas) , aOS); }