/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 2 0 Ġ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 . idea . frontend . api . fir . symbols . pointers Ċ Ċ import Ġorg . jetbrains . kotlin . fir . F ir Session Ċ import Ġorg . jetbrains . kotlin . fir . declarations . F ir Declaration Ċ import Ġorg . jetbrains . kotlin . fir . declarations . F ir Property Ċ import Ġorg . jetbrains . kotlin . idea . frontend . api . fir . Kt F ir Analysis Session Ċ import Ġorg . jetbrains . kotlin . idea . frontend . api . symbols . Kt Property Symbol Ċ import Ġorg . jetbrains . kotlin . ir . util . Id Signature Ċ import Ġorg . jetbrains . kotlin . name . Class Id Ċ Ċ internal Ġclass ĠK t F ir Member Property Symbol Pointer ( ĊĠĠĠ Ġowner Class Id : ĠClass Id , ĊĠĠĠ Ġprivate Ġval Ġsignature : ĠId Signature Ċ ) Ġ: ĠK t F ir Member Symbol Pointer < Kt Property Symbol >( owner Class Id ) Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠK t F ir Analysis Session . choose Candidate And Create Symbol ( ĊĠĠĠĠĠĠĠ Ġcandidates : ĠCollection < F ir Declaration >, ĊĠĠĠĠĠĠĠ Ġfir Session : ĠF ir Session ĊĠĠĠ Ġ): ĠK t Property Symbol ? Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfir Property Ġ= Ġcandidates . find Declaration With Signature < F ir Property >( signature , Ġfir Session ) Ġ?: Ġreturn Ġnull ĊĠĠĠĠĠĠĠ Ġreturn Ġfir Symbol Builder . build Variable Symbol ( fir Property ) Ġas ? ĠK t Property Symbol ĊĠĠĠ Ġ} Ċ } ĊĊ