void (String projectPath, @NotNull List<ShelvedChange> shelvedChanges, @NotNull List<ShelvedBinaryFile> binaryFiles) { HashSet<File> filesToRefresh = new HashSet<>(); shelvedChanges.forEach(c -> { filesToRefresh.add(new File(projectPath + c.getBeforePath())); filesToRefresh.add(new File(projectPath + c.getAfterPath())); }); binaryFiles.forEach(f -> { if (f.BEFORE_PATH != null) { filesToRefresh.add(new File(projectPath + f.BEFORE_PATH)); } if (f.AFTER_PATH != null) { filesToRefresh.add(new File(projectPath + f.AFTER_PATH)); } }); LocalFileSystem.getInstance().refreshIoFiles(filesToRefresh); }