public void write(Encoder encoder, CompilationFileState value) throws Exception {
   hashSerializer.write(encoder, value.getHash());
   resolveIncludesSerializer.write(encoder, value.getResolvedIncludes());
   sourceIncludesSerializer.write(encoder, value.getSourceIncludes());
 }
 public CompilationFileState read(Decoder decoder) throws Exception {
   CompilationFileState fileState = new CompilationFileState(hashSerializer.read(decoder));
   fileState.setResolvedIncludes(resolveIncludesSerializer.read(decoder));
   fileState.setSourceIncludes(sourceIncludesSerializer.read(decoder));
   return fileState;
 }