Collection<PropertiesFile> (@NotNull PsiFile file) { PropertiesFile propertiesFile = findPropertiesFile(file); if (propertiesFile == null) return Collections.emptyList(); if (myOnlyCurrentFile) { return Collections.singleton(propertiesFile); } return propertiesFile.getResourceBundle().getPropertiesFiles(); }