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