// ĠCopyright Ġ 2 0 0 0 - 2 0 2 1 Ġ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 . util . indexing . roots Ċ Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġcom . intellij . openapi . roots . Content Iterator Ċ import Ġcom . intellij . openapi . vfs . Virtual File Ċ import Ġcom . intellij . openapi . vfs . Virtual File Filter Ċ import Ġcom . intellij . util . indexing . Indexing Bundle Ċ import Ġcom . intellij . util . indexing . roots . Index able Files Iteration Methods . iterate Roots Ċ import Ġcom . intellij . util . indexing . roots . kind . Index able Set Origin Ċ import Ġorg . jetbrains . annotations . N ls Ċ Ċ internal Ġclass ĠAdditional Library Index able Added Files Iterator ( val Ġpresent able Library Name : Ġ@ N ls ĠString ?, ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġroot sTo Index : ĠIterable < Virtual File >, ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġlibrary Name For Debug : ĠString ) Ġ: ĠIndex able Files Iterator Ġ{ ĊĠ Ġoverride Ġfun Ġget Debug Name (): ĠString Ġ= Ġ" Additional Ġlibrary Ġchange Ġre indexing Ġiterator Ġfor Ġ${ present able Library Name Ġ?: Ġ" unknown "} Ġlibrary ; Ġ$ library Name For Debug " ĊĊĠ Ġoverride Ġfun Ġget Indexing Progress Text (): ĠString Ġ= Ġpresent able Library Name ?. let Ġ{ ĊĠĠĠ ĠIndex ing Bundle . message (" progress . text . additional . library . indexing . added . files ", Ġit ) ĊĠ Ġ} Ġ?: ĠIndex ing Bundle . message (" progress . text . additional . library . indexing . unknown . added . files ") ĊĊĠ Ġoverride Ġfun Ġget Roots Sc anning Progress Text (): ĠString Ġ= Ġpresent able Library Name ?. let Ġ{ ĊĠĠĠ ĠIndex ing Bundle . message (" progress . text . additional . library . sc anning . added . files ", Ġit ) ĊĠ Ġ} Ġ?: ĠIndex ing Bundle . message (" progress . text . additional . library . sc anning . unknown . added . files ") ĊĊĠ Ġoverride Ġfun Ġget Origin (): ĠIndex able Set Origin Ġ= ĠPartial Additional Library Index able Set Origin () ĊĊĠ Ġoverride Ġfun Ġiterate Files ( project : ĠProject , Ġfile Iterator : ĠContent Iterator , Ġfile Filter : ĠVirtual File Filter ): ĠBoolean Ġ{ ĊĠĠĠ Ġreturn Ġiterate Roots ( project , Ġroot sTo Index , Ġfile Iterator , Ġfile Filter , Ġtrue ) ĊĠ Ġ} Ċ } Ċ Ċ private Ġclass ĠPartial Additional Library Index able Set Origin Ġ: ĠIndex able Set Origin