package org.metaborg.spoofax.benchmark.core.collect;

import java.io.Serializable;
import java.util.Collection;

import org.metaborg.runtime.task.engine.ITaskEngine;
import org.metaborg.sunshine.services.analyzer.AnalysisDebugResult;
import org.spoofax.interpreter.library.index.IIndex;

import com.google.common.collect.Lists;

public final class CollectedData implements Serializable {
	private static final long serialVersionUID = 5478160852945519151L;

	public String languageDirectory;
	public String languageName;
	public String projectDirectory;

	public final Collection<FileData> files = Lists.newLinkedList();

	public transient String indexFile;
	public transient IIndex index;

	public transient String taskEngineFile;
	public transient ITaskEngine taskEngine;

	public AnalysisDebugResult debug;
	public TimeData time;
}

@@ -810,16 +810,22 @@
 %09public 
+final 
 TimeData
@@ -829,12 +829,29 @@
 ata time
+ = new TimeData()
 ;%0A%7D%0A

Fix NPE