String (@NotNull PropertiesFile propertiesFile) { final String baseName = propertiesFile.getResourceBundle().getBaseName(); final String propertiesFileName = propertiesFile.getName(); if (baseName.equals(FileUtilRt.getNameWithoutExtension(propertiesFileName))) return ""; return FileUtilRt.getNameWithoutExtension(propertiesFileName.substring(baseName.length() + 1)); }