Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for we (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            return originalDeclaration.takeIf { this.origin is FirDeclarationOrigin.SubstitutionOverride.CallSite }
        }
    
        /**
         * We want to unwrap a SUBSTITUTION_OVERRIDE wrapper if it doesn't affect the declaration's signature in any way. If the signature
         * is somehow changed, then we want to keep the wrapper.
         *
         * Such substitute overrides happen because of inheritance.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                    rootModuleSession.jvmTypeMapper.typeContext.getOptimalModeForValueParameter(expandedType)
                }
            }.let { typeMappingMode ->
                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                if (hasParentPsi(symbol)) {
                    // getSymbol(ClassId) returns a symbol from the original file, so here we avoid using it
                    return getContainingDeclarationByPsi(symbol)
                }
            }
    
            when (symbol) {
                is KaLocalVariableSymbol,
                is KaAnonymousFunctionSymbol,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

    import org.jetbrains.kotlin.utils.addIfNotNull
    
    /**
     * In Standalone mode, deserialized elements don't have sources, so we need to implement [LLFirElementByPsiElementChooser] based on
     * component comparison (see [LLFirElementByPsiElementChooser]).
     *
     * TODO: We might be able to remove this service if KT-65836 is viable (using stub-based deserialized symbol providers in Standalone mode).
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * we need to resolve the whole qualifier to understand which parts of the qualifier are package or class qualifiers.
         * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable.
         *
         * It's possible that the whole qualifier is invalid, in this case we still want to resolve our [selectedFqName].
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

         * fun usage(action: String.(Int) -> String) {
         *   "hello".<expr>action</expr>(10)
         * }
         * ```
         *
         * The user might want to know the type of the `action` callback. If we always return null for the named references,
         * we won't be able to handle this request, and just return null. So the user will only be able to see the type
         * of the whole expression instead, and that is not what he wants.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/api/standalone/StandaloneAnalysisAPISessionBuilder.kt

        projectDisposable: Disposable,
        unitTestMode: Boolean,
        classLoader: ClassLoader = MockProject::class.java.classLoader
    ) {
        init {
            // We depend on swing (indirectly through PSI or something), so we want to declare headless mode,
            // to avoid accidentally starting the UI thread. But, don't set it if it was set externally.
            if (System.getProperty("java.awt.headless") == null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top