Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for we (0.01 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

        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) {
                "Unexpected local Java class in ${FirJavaDeclaredMembersOnlyScope::class.simpleName}."
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Oct 10 13:38:00 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // If we are at a super-type constructor call, adjust the resolution expression so that we
            // get the constructor instead of the class.
            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbol.kt

        override val symbolKind: KaSymbolKind get() = withValidityAssertion { getSymbolKind() }
    
        /**
         * We can use [FirRegularClassSymbol.rawStatus] to avoid unnecessary resolve unless there are status transformers present.
         * If they are present, we have to resort to [FirRegularClassSymbol.resolvedStatus] instead - otherwise we can observe incorrect status
         * properties.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.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.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            /**
             * If we have a property with the same name, avoid dropping qualifiers makes it reference a property with the same name e.g.,
             *    package my.component
             *    class foo { .. }  // A
             *    ..
             *    fun test() {
             *      val foo = ..    // B
             *      my.component.foo::class.java  // If we drop `my.component`, it will reference `B` instead of `A`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            /**
             * Not all expressions appear in the [ControlFlowGraph].
             * Still, if we find at least some of them, it's very unlikely that we will ever find a better graph.
             */
            val firCandidates = buildSet {
                fun addCandidate(firCandidate: FirElement) {
                    add(firCandidate)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K 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.api.platform.declarations.KotlinDeclarationProvider].
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        implementation(project(":analysis:analysis-api"))
    
        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())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 18 18:42:40 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubtypingComponent.kt

            // `NewKotlinTypeCheckerImpl` is inconsistent with its error type leniency: `isSubtypeOf` is lenient by default while `equalTypes`
            // isn't. Hence, even without a `LENIENT` policy, we need to wrap `typeChecker` to achieve consistent strictness.
            return IsErrorTypeEqualToAnythingTypeChecker(typeChecker, errorTypePolicy == KaSubtypingErrorTypePolicy.LENIENT)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // as parentheses for the purpose of this analysis.
                is KtContainerNode ->
                    // !!!!CAUTION!!!! Not `parentUse(parent.parent, _parent_)`
                    // Here we assume the parent (e.g. If condition) statement
                    // ignores the ContainerNode when accessing child
                    doesParentUseChild(parent.parent, child)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top