// ĠCopyright Ġ 2 0 0 0 - 2 0 2 0 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . completion . ml . rank er Ċ Ċ import Ġcom . intellij . internal . ml . cat boost . Cat Boost Jar Completion Model Provider Ċ import Ġcom . intellij . openapi . application . Pre loading Activity Ċ import Ġcom . intellij . openapi . progress . Progress Indicator Ċ import Ġcom . intellij . util . Platform Utils Ċ Ċ class ĠPre load Cat Boost Model Ġ: ĠPre loading Activity () Ġ{ ĊĠ Ġoverride Ġfun Ġpreload ( indicator : ĠProgress Indicator ) Ġ{ ĊĠĠĠ Ġif Ġ(! Platform Utils . is Int elli J ()) Ġreturn ĊĊĠĠĠ Ġval Ġproviders Ġ= ĠExperiment Model Provider . available Providers (). filter Is Instance < Cat Boost Jar Completion Model Provider >() ĊĠĠĠ Ġfor Ġ( provider Ġin Ġproviders ) Ġ{ ĊĠĠĠĠĠ Ġ// Ġforce Ġto Ġload Ġmodel ĊĠĠĠĠĠ Ġprovider . model ĊĠĠĠĠĠ Ġindicator . check Canceled () ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ }