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