Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isTopLevelDeclaration (0.35 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ImportOptimizer.kt

         */
        private fun DeclarationDescriptor.canBeReferencedViaImport(): Boolean {
            if (this is PackageViewDescriptor ||
                DescriptorUtils.isTopLevelDeclaration(this) ||
                this is CallableDescriptor && DescriptorUtils.isStaticDeclaration(this)
            ) {
                return !name.isSpecial
            }
    
            //Both TypeAliasDescriptor and ClassDescriptor
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top