boolean (final Object element) { if (element instanceof ResourceBundle resourceBundle) { List<PropertiesFile> propertiesFiles = resourceBundle.getPropertiesFiles(); if (propertiesFiles.size() == 1) { //todo result.add(new PsiFileNode(myProject, propertiesFiles.iterator().next(), this)); return true; } } return false; }