@ApiStatus.Internal
  public static String getPackageName(@NotNull VirtualFile directory, @NotNull Project project) {
    return DirectoryIndex.getInstance(project).getPackageName(directory);
  }
@ApiStatus.Internal
  public static String getPackageName(@NotNull VirtualFile directory, @NotNull Project project)