Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for have (0.18 sec)

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

         *
         * This have a few caveats when it comes to the inner classes. TODO Provide a reference to some more in-detail description of that.
         *
         * @receiver A declaration that needs to be unwrapped.
         * @return An unsubstituted declaration ([originalForSubstitutionOverride]]) if it exists and if it does not have any change
         * in signature; `null` otherwise.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.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 Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        override fun getKtExpressionType(expression: KtExpression): KtType? {
            // There are various cases where we have no corresponding fir due to invalid code
            // Some examples:
            // ```
            // when {
            //   true, false -> {}
            // }
            // ```
            // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned.
            // ```
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                is KtUserType ->
                    false
    
                // Only top-level named declarations have KtFile/KtScript Parents, and are never considered used
                is KtFile ->
                    false
                is KtScript ->
                    false
    
                // Only class members have KtClassBody parents, and are never considered used
                is KtClassBody ->
                    false
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                // Technically we should use JvmDefaultMode.ALL_INCOMPATIBLE because Kapt4 always uses `-Xjvm-default=all`, but it would make
                // the majority of tests fail because metadata of each interface will have a flag set, compared to Kapt3.
                jvmDefaultMode = JvmDefaultMode.DISABLE,
                stringTable,
                null,
                null
            )
            return FirElementSerializer.createTopLevel(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

     */
    private val FirFunctionCall.functionReferenceName: Name?
        get() {
            toResolvedCallableReference()?.let { return it.name }
    
            // unresolved reference has incorrect name, so we have to retrieve it by PSI
            val wholeCallExpression = realPsi as? KtExpression
            val callExpression = wholeCallExpression?.getPossiblyQualifiedCallExpression()
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                is FirSpreadArgumentExpression -> {
                    expression.convertConstantExpression(builder)
                }
    
                is FirVarargArgumentsExpression -> {
                    // Vararg arguments may have multiple independent expressions associated.
                    // Choose one to be the representative PSI value for the entire assembled argument.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                    ?: error("allCandidates is null even when collectAllCandidates = true")
    
                candidates.flatMap { candidate ->
                    // The current BindingContext does not have the diagnostics for each individual candidate, only for the resolved call.
                    // If there are multiple candidates, we can get each one's diagnostics by reporting it to a new BindingTrace.
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        //TODO Check thread safety
        session.jvmTypeMapper.mapType(this, mode, signatureWriter) {
            val containingFile = useSitePosition.containingKtFile
            // parameters for default setters does not have kotlin origin, but setter has
                ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile
                ?: return@mapType null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top