boolean (@NotNull VirtualFile f) { try { if (null != indicator) { indicator.checkCanceled(); indicator.setText2(f.getPresentableUrl()); } if (f.isDirectory()) { if (lookForNested) { f.refresh(false, false); } else { return false; } } else { if (MavenUtil.isPomFile(f)) { result.add(Pair.create(f.getParent(), f)); } } } catch (InvalidVirtualFileAccessException e) { // we are accessing VFS without read action here so such exception may occasionally occur MavenLog.LOG.info(e); } return true; }