/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 2 2 ĠJetBrains Ġs . r . o . Ġand ĠKotlin ĠProgramming ĠLanguage Ġcontributors . Ċ Ġ* ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe Ġlicense / LICENSE . txt Ġfile . Ċ Ġ*/ Ċ Ċ package Ġorg . jetbrains . kotlin . analysis . api . fe 1 0 . test . configur ator Ċ Ċ import Ġcom . intellij . core . Core Java FileManager Ċ import Ġcom . intellij . mock . Mock Application Ċ import Ġcom . intellij . mock . Mock Project Ċ import Ġcom . intellij . psi . impl . file . impl . Java FileManager Ċ import Ġorg . jetbrains . kotlin . analysis . api . Invalid Way Of Using Analysis Session Ċ import Ġorg . jetbrains . kotlin . analysis . api . Kt Analysis Session Provider Ċ import Ġorg . jetbrains . kotlin . analysis . api . descriptors . Cli Fe 1 0 Analysis Facade Ċ import Ġorg . jetbrains . kotlin . analysis . api . descriptors . Fe 1 0 Analysis Facade Ċ import Ġorg . jetbrains . kotlin . analysis . api . descriptors . Kt Fe 1 0 Analysis Handler Extension Ċ import Ġorg . jetbrains . kotlin . analysis . api . descriptors . Kt Fe 1 0 Analysis Session Provider Ċ import Ġorg . jetbrains . kotlin . analysis . api . descriptors . references . base . Kt Fe 1 0 Kotlin Reference Provider Contributor Ċ import Ġorg . jetbrains . kotlin . analysis . test . framework . test . configur ators . Analysis Api Test Service Registrar Ċ import Ġorg . jetbrains . kotlin . cli . common . Cli Module Visibility ManagerImpl Ċ import Ġorg . jetbrains . kotlin . cli . jvm . compiler . Kotlin Core Environment Ċ import Ġorg . jetbrains . kotlin . idea . references . Kotlin Reference Provider Contributor Ċ import Ġorg . jetbrains . kotlin . load . kotlin . Module Visibility Manager Ċ import Ġorg . jetbrains . kotlin . resolve . extensions . Analysis Handler Extension Ċ import Ġorg . jetbrains . kotlin . test . services . Test Services Ċ Ċ object ĠAnalysis Api Fe 1 0 Test Service Registrar Ġ: ĠAnalysis Api Test Service Registrar () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġregister Project Extension Points ( project : ĠMock Project , Ġtest Services : ĠTest Services ) Ġ{ ĊĠĠĠĠĠĠĠ ĠAnalysis Handler Extension . register Extension Point ( project ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Opt In ( Invalid Way Of Using Analysis Session :: class ) ĊĠĠĠ Ġoverride Ġfun Ġregister Project Services ( project : ĠMock Project , Ġtest Services : ĠTest Services ) Ġ{ ĊĠĠĠĠĠĠĠ Ġproject . apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregister Service ( Kt Analysis Session Provider :: class . java , ĠK t Fe 1 0 Analysis Session Provider ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregister Service ( Fe 1 0 Analysis Facade :: class . java , ĠCli Fe 1 0 Analysis Facade ( project )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregister Service ( Module Visibility Manager :: class . java , ĠCli Module Visibility ManagerImpl ( enabled Ġ= Ġtrue )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregister Service ( Core Java FileManager :: class . java , Ġproject . getService ( Java FileManager :: class . java ) Ġas ĠCore Java FileManager ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ ĠAnalysis Handler Extension . register Extension ( project , ĠK t Fe 1 0 Analysis Handler Extension ()) ĊĠĠĠĠĠĠĠ ĠKotlin Core Environment . register Kotlin Light Class Support ( project ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġregister Application Services ( application : ĠMock Application , Ġtest Services : ĠTest Services ) Ġ{ ĊĠĠĠĠĠĠĠ Ġapplication . apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregister Service ( Kotlin Reference Provider Contributor :: class . java , ĠK t Fe 1 0 Kotlin Reference Provider Contributor :: class . java ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }