Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for singleOrNull (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            fqName: FqName,
            contextElement: KtElement,
        ): Collection<ResolveResult> {
            val owner = contextElement.parentOfType<KtDeclaration>() ?: return emptyList()
            if (fqName.pathSegments().singleOrNull()?.asString() == "this") {
                if (owner is KtCallableDeclaration && owner.receiverTypeReference != null) {
                    val symbol = owner.getSymbol() as? KtCallableSymbol ?: return emptyList()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top