void (@NotNull String @NotNull ... dirNames) { for (String dirName : dirNames) { Path usrShareDir = Paths.get(dirName); if (Files.exists(usrShareDir)) { String absolutePath = usrShareDir.toAbsolutePath().toString(); LOG.debug(usrShareDir.toString(), " exists, adding to the list of allowed root: ", absolutePath); VfsRootAccess.allowRootAccess(getTestRootDisposable(), absolutePath); } else { LOG.debug(usrShareDir.toString(), " does not exists"); } } }