List<ShelvedBinaryFile> (@NotNull List<ShelvedChangeList> listsToDelete, @NotNull List<ShelvedBinaryFile> binaryFiles) { List<ShelvedBinaryFile> result = new ArrayList<>(binaryFiles); for (ShelvedChangeList list : listsToDelete) { result.removeAll(list.getBinaryFiles()); } return result; }