@Override
  public boolean canRun(@NotNull Project project, @NotNull ProjectTask projectTask, @Nullable ProjectTaskContext context) {
    if (context != null && context.getRunConfiguration() instanceof JavaScratchConfiguration) {
      return false;
    }
    return canRun(projectTask);
  }
@Override
  public boolean canRun(@NotNull Project project, @NotNull ProjectTask projectTask, @Nullable ProjectTaskContext context)