DataExternalizer<ModuleRepr> (final DependencyContext context) { return new DataExternalizer<ModuleRepr>() { @Override public void save(final @NotNull DataOutput out, final ModuleRepr value) { value.save(out); } @Override public ModuleRepr read(final @NotNull DataInput in) { return new ModuleRepr(context, in); } }; }