/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 1 5 ĠJetBrains Ġs . r . o . Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġorg . jetbrains . kotlin . cli . jvm . repl Ċ Ċ import Ġorg . jetbrains . kotlin . resolve . lazy . declarations . Package Member Declaration Provider Ċ import Ġorg . jetbrains . kotlin . name . Name Ċ import Ġorg . jetbrains . kotlin . resolve . scopes . Descriptor Kind Filter Ċ Ċ open Ġclass ĠDelegate Package Member Declaration Provider ( var Ġdelegate : ĠPackage Member Declaration Provider ) Ġ: ĠPackage Member Declaration Provider Ġ{ ĊĠĠĠ Ġ// ĠCan 't Ġuse ĠKotlin Ġdelegate Ġfeature Ġbecause Ġof Ġin ability Ġto Ġchange Ġdelegate Ġobject Ġin Ġruntime Ġ( KT - 5 8 7 0 ) ĊĊĠĠĠ Ġoverride Ġfun ĠgetAll Declared Sub Packages () Ġ= Ġdelegate . getAll Declared Sub Packages () ĊĊĠĠĠ Ġoverride Ġfun Ġget Package Files () Ġ= Ġdelegate . get Package Files () ĊĊĠĠĠ Ġoverride Ġfun Ġget Declarations ( kind Filter : ĠDescriptor Kind Filter , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġname Filter : Ġ( Name ) Ġ-> ĠBoolean ) Ġ= Ġdelegate . get Declarations ( kind Filter , Ġname Filter ) ĊĊĠĠĠ Ġoverride Ġfun Ġget Function Declarations ( name : ĠName ) Ġ= Ġdelegate . get Function Declarations ( name ) ĊĊĠĠĠ Ġoverride Ġfun ĠgetProperty Declarations ( name : ĠName ) Ġ= Ġdelegate . getProperty Declarations ( name ) ĊĊĠĠĠ Ġoverride Ġfun ĠgetClass Or Object Declarations ( name : ĠName ) Ġ= Ġdelegate . getClass Or Object Declarations ( name ) Ċ } Ċ