Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for rsitze (0.13 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(typeParameterSymbols.size == argumentTypes.size) {
                val renderedSymbol = FirRenderer.noAnnotationBodiesAccessorAndArguments().renderElementAsString(symbol.fir)
                "'$renderedSymbol' expects '${typeParameterSymbols.size}' type arguments " +
                        "but type '${this.renderForDebugging()}' has ${argumentTypes.size} type arguments."
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbolProvider.kt

            withValidityAssertion { analysisSession.symbolProvider.getScriptSymbol(this) }
    
        /**
         * Returns [KaPackageSymbol] corresponding to [packageFqName] if corresponding package is exists and visible from current uses-site scope,
         * `null` otherwise
         */
        public fun getPackageSymbolIfPackageExists(packageFqName: FqName): KaPackageSymbol? =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

        /**
         * Return a [KaTypeScope] for a given [KaType].
         * The type scope will include all members which are declared and callable on a given type.
         *
         * Comparing to the [KaScope], in the [KaTypeScope] all use-site type parameters are substituted.
         *
         * Consider the following code
         * ```
         * fun foo(list: List<String>) {
         *      list // get KtTypeScope for it
         * }
         *```
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    //   -> string.hello (drop the first segment)
                    //   test.pkg.R.string.hello
                    //   -> string.hello (take last two segments, where the size is determined by the size of qualified access minus 1)
                    val fixedQualifiedAccessSegments = qualifiedAccessSegments.drop(1)
                    assert(referencedClassIdAndQualifiedAccessMatch(fixedQualifiedAccessSegments)) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            unwrapUseSiteSubstitutionOverride()?.let { return it }
    
            unwrapInheritanceSubstitutionOverrideIfNeeded()?.let { return it }
    
            return null
        }
    
        /**
         * Use-site substitution override happens in situations like this:
         *
         * ```
         * interface List<A> { fun get(i: Int): A }
         *
         * fun take(list: List<String>) {
         *   list.get(10) // this call
         * }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

        }
    
        private fun typeParametersMatch(psiFunction: KtCallableDeclaration, firFunction: FirCallableDeclaration): Boolean {
            if (firFunction.typeParameters.size != psiFunction.typeParameters.size) return false
            val boundsByName = psiFunction.typeConstraints.groupBy { it.subjectTypeParameterName?.getReferencedName() }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

                    val parent = fullFqName.parent()
                    return resolveKdocFqName(analysisSession, selectedFqName, parent, contextElement)
                }
                val goBackSteps = fullFqName.pathSegments().size - selectedFqName.pathSegments().size
                check(goBackSteps > 0) {
                    "Selected FqName ($selectedFqName) should be smaller than the whole FqName ($fullFqName)"
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. .idea/inspectionProfiles/idea_default.xml

            <constraint name="collection" within="" contains="" />
          </replaceConfiguration>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 09 20:59:03 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            if (functionDescriptor != null) {
                return getFunctionTypeForAbstractMethod(functionDescriptor, false).toKtType(analysisContext)
            }
    
            val parameterCount = declaration.valueParameters.size + (if (declaration.isExtensionDeclaration()) 1 else 0)
    
            val function = when {
                declaration.hasModifier(KtTokens.SUSPEND_KEYWORD) -> analysisContext.builtIns.getSuspendFunction(parameterCount)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                DeclaredMemberScopeKind.STATIC -> getStaticScope() ?: return null
    
                // Java enhancement scopes as provided by `JavaScopeProvider` are either use-site or static scopes, so we need to compose them
                // to get the combined scope. A base declared member scope with Java enhancement doesn't exist, unfortunately.
                DeclaredMemberScopeKind.COMBINED -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top