/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 1 6 Ġ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 . resolve . jvm Ċ Ċ import Ġorg . jetbrains . kotlin . builtins . Kotlin Built Ins Ċ import Ġorg . jetbrains . kotlin . config . Language Feature Ċ import Ġorg . jetbrains . kotlin . config . Language Version Settings Ċ import Ġorg . jetbrains . kotlin . descriptors . Callable Member Descriptor Ċ import Ġorg . jetbrains . kotlin . descriptors . Modal ity Ċ import Ġorg . jetbrains . kotlin . load . java . descriptors . Java MethodDescriptor Ċ import Ġorg . jetbrains . kotlin . resolve . Descriptor Utils Ċ import Ġorg . jetbrains . kotlin . resolve . lazy . Deleg ation Filter Ċ import Ġorg . jetbrains . kotlin . serialization . de serialization . PLATFORM _ DEPEND ENT _ AN NOT ATION _ FQ _ NAME Ċ Ċ object ĠJ vm Deleg ation Filter Ġ: ĠDeleg ation Filter Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġfilter ( interface Member : ĠCallable Member Descriptor , Ġlanguage Version Settings : ĠLanguage Version Settings ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ(! language Version Settings . supports Feature ( Language Feature . No Deleg ation To Java Default Interface Members )) Ġreturn Ġtrue ĊĊĠĠĠĠĠĠĠ Ġ// We Ġalways Ġhave Ġonly Ġone Ġimplementation Ġotherwise Ġit 's Ġan Ġerror Ġin Ġkotlin Ġand Ġjava ĊĠĠĠĠĠĠĠ Ġval Ġreal Member Ġ= ĠDescriptor Utils . unwrap Fake Override ( interface Member ) ĊĠĠĠĠĠĠĠ Ġreturn Ġ! is Java Default Method ( real Member ) Ġ&& Ġ! is BuiltIn Member Mapped To Java Default ( real Member ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġis Java Default Method ( interface Member : ĠCallable Member Descriptor ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġinterface Member Ġis ĠJava MethodDescriptor Ġ&& Ġinterface Member . modal ity Ġ!= ĠMod ality . AB STR ACT ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġis BuiltIn Member Mapped To Java Default ( interface Member : ĠCallable Member Descriptor ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġinterface Member . modal ity Ġ!= ĠMod ality . AB STR ACT Ġ&& ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠKotlin Built Ins . is BuiltIn ( interface Member ) Ġ&& ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġinterface Member . annotations . has Annotation ( PLATFORM _ DEPEND ENT _ AN NOT ATION _ FQ _ NAME ) ĊĠĠĠ Ġ} Ċ } Ċ