@ApiStatus.Internal
  public static @NotNull DataContext projectContext(@NotNull Project project, @Nullable Module module, @Nullable Boolean validationMode) {
    return SimpleDataContext.builder()
      .add(CommonDataKeys.VIRTUAL_FILE, project.getBaseDir())
      .add(CommonDataKeys.PROJECT, project)
      .add(PlatformCoreDataKeys.PROJECT_FILE_DIRECTORY, project.getBaseDir())
      .add(PlatformCoreDataKeys.MODULE, module)
      .add(LangDataKeys.MODULE_CONTEXT, module)
      .add(VALIDATION_MODE, validationMode)
      .build();
  }
@ApiStatus.Internal
  public static @NotNull DataContext projectContext(@NotNull Project project, @Nullable Module module, @Nullable Boolean validationMode)