Collection<PropertiesFile> () { if (useExistingProperty()) { return Collections.singleton(myExistingProperties.getItem().getPropertiesFile()); } PropertiesFile propertiesFile = getPropertiesFile(); if (propertiesFile == null) return Collections.emptySet(); Collection<PropertiesFile> propertiesFiles; if (isUseResourceBundle()) { propertiesFiles = propertiesFile.getResourceBundle().getPropertiesFiles(); } else { propertiesFiles = Collections.singleton(propertiesFile); } return propertiesFiles; }