/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 2 1 Ġ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 . fir . expressions . builder Ċ Ċ import Ġorg . jetbrains . kotlin . fir . expressions . F ir When Subject Expression Ċ import Ġorg . jetbrains . kotlin . fir . expressions . F ir When Subject Expression With Smart cast To Null Ċ import Ġorg . jetbrains . kotlin . fir . expressions . impl . F ir When Subject Expression With Smart cast To Null Impl Ċ Ċ class ĠF ir When Subject Expression With Smart cast To Null Builder Ġ: ĠF ir Wrapped Expression With Smart cast To Null Builder < F ir When Subject Expression >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġbuild (): ĠF ir When Subject Expression With Smart cast To Null Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠF ir When Subject Expression With Smart cast To Null Impl ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoriginal Expression , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsmart cast Type , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtypes From Smart Cast , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsmart cast St ability , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsmart cast Type Without Nullable Nothing ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġbuild When Subject Expression With Smart cast To Null ( init : ĠF ir When Subject Expression With Smart cast To Null Builder . () Ġ-> ĠUnit ): ĠF ir When Subject Expression With Smart cast To Null Ġ{ ĊĠĠĠ Ġreturn ĠF ir When Subject Expression With Smart cast To Null Builder (). apply ( init ). build () Ċ } Ċ