Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for have (0.12 sec)

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

                        // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
                        // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering.
                        val psiSourceFile =
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            require(candidates.isNotEmpty()) { "Cannot have zero candidates" }
    
            val distinctCandidates = candidates.distinctBy { it.callableId }
            return distinctCandidates.singleOrNull()
                ?: errorWithAttachment("Expected all candidates to have same callableId but some of them but was different") {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            // If an element in the array has the same type as the containing array, it's a spread component that needs
            // to be expanded here. (It should have the array element type instead.)
            (constantValue as ArrayValue).value.expandArrayAnnotationValue(containingArrayType, analysisContext)
        } else {
            listOf(constantValue.toKtAnnotationValue(analysisContext))
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  4. ReadMe.md

    ### Dependency verification
    
    We have a [dependencies verification](https://docs.gradle.org/current/userguide/dependency_verification.html) feature enabled in the
    repository for all Gradle builds. Gradle will check hashes (md5 and sha256) of used dependencies and will fail builds with
    `Dependency verification failed` errors when local artifacts are absent or have different hashes listed in the
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
    
        /*
         We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore
         the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly
         */
        compileOnly(intellijCore())
        compileOnly(libs.guava)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Oct 18 18:42:40 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

        private val delegate: FirContainingNamesAwareScope,
        private val owner: FirJavaClass,
    ) : FirCallableFilteringScope(delegate) {
        init {
            // The `isDeclared` check is based on class IDs. Local classes don't have proper class IDs, but because this scope is used to
            // represent Java classes viewed from Kotlin code, we shouldn't be able to encounter any local Java classes.
            require(!owner.isLocal) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     * not necessarily the case for declaration providers (e.g. the IDE declaration provider hitting the index without caching).
     *
     * However, since symbol names providers may not be able to compute name sets per their contract, we may have to fall back to the
     * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider].
     *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            }
    
            if (this is FirImplicitInvokeCall) {
    
                // If we have a PSI expression like `Foo.Bar.Baz()` and try to resolve `Bar` part,
                // and the only FIR that we have for that PSI is an implicit invoke call, that means that
                // `Foo.Bar` is definitely not a property access - otherwise it would have had its own FIR.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
            withClassEntry("annotationTypeRef", annotation.annotationTypeRef)
            @OptIn(UnresolvedExpressionTypeAccess::class)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompileTimeConstantProvider.kt

                }
                // For invalid code like the following,
                // ```
                // when {
                //   true, false -> {}
                // }
                // ```
                // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned. In this
                // case, we simply report null since FIR does not know about it.
                else -> null
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top