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