private static @NlsSafe String getPresentablePrefix(final ContentEntry entry, final VirtualFile file) {
    for (final SourceFolder sourceFolder : entry.getSourceFolders()) {
      if (file.equals(sourceFolder.getFile())) {
        JpsModuleSourceRoot element = sourceFolder.getJpsElement();
        JavaSourceRootProperties properties = element.getProperties(JavaModuleSourceRootTypes.SOURCES);
        if (properties != null) return properties.getPackagePrefix();
        JavaResourceRootProperties resourceRootProperties = element.getProperties(JavaModuleSourceRootTypes.RESOURCES);
        if (resourceRootProperties != null) return resourceRootProperties.getRelativeOutputPath();
      }
    }
    return "";
  }
private static @NlsSafe String getPresentablePrefix(final ContentEntry entry, final VirtualFile file)