// ĠCopyright Ġ 2 0 0 0 - 2 0 1 8 Ġ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 Ġorg . editor config . language . code insight . find us ages Ċ Ċ import Ġcom . intellij . find . find Usage s . Find Usage s Handler Ċ import Ġcom . intellij . find . find Usage s . Find Usage s Handler Factory Ċ import Ġcom . intellij . psi . Psi Element Ċ import Ġorg . editor config . language . code insight . find us ages . Editor Config Find Variable Usage s Handler . Companion . getId Ċ import Ġorg . editor config . language . psi . interfaces . Editor Config Descri b ableElement Ċ import Ġorg . editor config . language . psi . interfaces . Editor Config Identifier Element Ċ Ċ class ĠEditor Config Find Usage s Handler Factory Ġ: ĠFind Usage s Handler Factory () Ġ{ ĊĠ Ġoverride Ġfun Ġcan Find Usage s ( element : ĠPsi Element ) Ġ= Ġelement Ġis ĠEditor Config Identifier Element ĊĠ Ġoverride Ġfun Ġcreate Find Usage s Handler ( element : ĠPsi Element , Ġfor Highlight Usage s : ĠBoolean ): ĠFind Usage s Handler ? Ġ{ ĊĠĠĠ Ġelement Ġas ? ĠEditor Config Descri b ableElement Ġ?: Ġreturn Ġnull ĊĠĠĠ Ġif Ġ( getId ( element ) Ġ!= Ġnull ) Ġreturn ĠEditor Config Find Variable Usage s Handler ( element ) ĊĠĠĠ Ġreturn ĠEditor Config Descriptor Based Find Usage s Handler ( element ) ĊĠ Ġ} Ċ } Ċ