int exceptionsCount = in.readInt(); storageHook.autoStartExceptions = exceptionsCount > 0 ? new String[exceptionsCount] : null; for (int i = 0; i < exceptionsCount; i++) storageHook.autoStartExceptions[i] = in.readUTF();
int pkgCount = in.readInt(); String[] packageList = pkgCount > 0 ? new String[pkgCount] : null; for (int i = 0; i < pkgCount; i++) packageList[i] = in.readUTF(); storageHook.lazyStartExcludes = packageList; if ((storageHook.flags & FLAG_HAS_LAZY_INCLUDE) != 0) { pkgCount = in.readInt(); packageList = pkgCount > 0 ? new String[pkgCount] : null; for (int i = 0; i < pkgCount; i++) packageList[i] = in.readUTF(); storageHook.lazyStartIncludes = packageList; }
	public StorageHook load(BaseData target, DataInputStream in) throws IOException {		EclipseStorageHook storageHook = new EclipseStorageHook();		storageHook.bundledata = target;		storageHook.flags = in.readByte();		int exceptionsCount = in.readInt();		storageHook.autoStartExceptions = exceptionsCount > 0 ? new String[exceptionsCount] : null;		for (int i = 0; i < exceptionsCount; i++)			storageHook.autoStartExceptions[i] = in.readUTF();		storageHook.buddyList = AdaptorUtil.readString(in, false);		storageHook.registeredBuddyList = AdaptorUtil.readString(in, false);		storageHook.pluginClass = AdaptorUtil.readString(in, false);		storageHook.manifestTimeStamp = in.readLong();		storageHook.manifestType = in.readByte();		return storageHook;	}