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