package Ġorg . jetbrains . research . ml . task tracker . reporting Ċ Ċ import Ġcom . intellij . openapi . diagnostic . Submitted Report Info Ċ import Ġcom . intellij . openapi . progress . Progress Indicator Ċ import Ġcom . intellij . openapi . progress . Task . Background able Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġcom . intellij . util . Consumer Ċ Ċ /** Ċ Ġ* ĠEn caps ulates Ġthe Ġsending Ġof Ġfeedback Ġinto Ġa Ġbackground Ġtask Ġthat Ġis Ġrun Ġby Ġ{@ link ĠGitHub Error Reporter }. Ċ Ġ*/ Ċ class ĠError Report Task Ġinternal Ġconstructor ( ĊĠĠĠ Ġproject : ĠProject ?, ĊĠĠĠ Ġtitle : ĠString , ĊĠĠĠ Ġcan Be Cancelled : ĠBoolean , ĊĠĠĠ Ġprivate Ġval Ġerror Information : ĠError Information , ĊĠĠĠ Ġprivate Ġval Ġcallback : ĠConsumer < Submitted Report Info > Ċ ) Ġ: ĠBackground able ( project , Ġtitle , Ġcan Be Cancelled ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġrun ( indicator : ĠProgress Indicator ) Ġ{ ĊĠĠĠĠĠĠĠ Ġindicator . isIn determinate Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġcallback . consume ( Error Report . send Feedback ( error Information )) ĊĠĠĠ Ġ} Ċ }