DataExternalizer<Collection<CompilerRef>> () { return new DataExternalizer<Collection<CompilerRef>>() { @Override public void save(final @NotNull DataOutput out, Collection<CompilerRef> value) throws IOException { DataInputOutputUtilRt.writeSeq(out, value, lightRef -> CompilerRefDescriptor.INSTANCE.save(out, lightRef)); } @Override public Collection<CompilerRef> read(final @NotNull DataInput in) throws IOException { return DataInputOutputUtilRt.readSeq(in, () -> CompilerRefDescriptor.INSTANCE.read(in)); } }; }