boolean (Path path, @Nullable ConfigImportSettings settings) { String fileName = path.getFileName().toString(); return SESSION_FILES.contains(fileName) || fileName.equals(BUNDLED_PLUGINS_FILENAME) || fileName.equals(ExpiredPluginsState.EXPIRED_PLUGINS_FILENAME) || fileName.startsWith(CHROME_USER_DATA) || fileName.endsWith(".jdk") && fileName.startsWith(String.valueOf(ApplicationNamesInfo.getInstance().getScriptName())) || (settings != null && settings.shouldSkipPath(path)); }