String (@NotNull IdeaPlugin plugin) { final Module module = Objects.requireNonNull(plugin.getModule()); final String moduleName = module.getName(); final VirtualFile virtualFile = DomUtil.getFile(plugin).getVirtualFile(); final String fileName = virtualFile.getNameWithoutExtension(); if (moduleName.equals(fileName)) { return fileName; } return moduleName + SUB_DESCRIPTOR_DELIMITER + StringUtil.substringAfterLast(fileName, SUB_DESCRIPTOR_FILENAME_DELIMITER); }