Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for nullable (1.08 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

    internal class CannotInferVisibilityImpl(
        override val callable: KtCallableSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<KtDeclaration>(firDiagnostic, token), KtFirDiagnostic.CannotInferVisibility
    
    internal class CannotInferVisibilityWarningImpl(
        override val callable: KtCallableSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 225.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
         * For example, `foo.Foo.bar` may only refer to the extension callable `bar` with
         * a `foo.Foo` receiver type, and this function will only look for such combinations.
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            return importAffectsUsagesOfClassesWithSameName(classToImport, importAllInParent)
        }
    
        /**
         * Same as above, but for more general callable symbols.
         *
         * Currently only checks constructor calls, assuming `true` for everything else.
         */
    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)
  4. ChangeLog.md

    - [`KT-56609`](https://youtrack.jetbrains.com/issue/KT-56609) K2: False positive NULL_FOR_NONNULL_TYPE with -Xjsr305=strict and `@Nullable` annotation Java parameter
    - [`KT-56656`](https://youtrack.jetbrains.com/issue/KT-56656) K1/K2: inconsistent NOTHING_TO_OVERRIDE with complex nullable annotations
    - [`KT-58332`](https://youtrack.jetbrains.com/issue/KT-58332) K2: local fun with suspend type is not marked as suspend in IR
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolProviderByJavaPsi.kt

        override fun getCallableSymbol(callable: PsiMember): KtCallableSymbol? {
            if (callable !is PsiMethod && callable !is PsiField) return null
            val name = callable.name?.let(Name::identifier) ?: return null
            val containingClass = callable.containingClass ?: return null
            val classSymbol = getNamedClassSymbol(containingClass) ?: return null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeCreator.kt

            val typeContext = rootModuleSession.typeContext
            val coneType = typeContext.createSimpleType(
                lookupTag,
                builder.arguments.map { it.coneTypeProjection },
                builder.nullability.isNullable
            ) as ConeClassLikeType
    
            return coneType.asKtType() as KtClassType
        }
    
        override fun buildTypeParameterType(builder: KtTypeParameterTypeBuilder): KtTypeParameterType  {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jun 22 07:31:36 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            return kotlinType.toKtType(analysisContext)
        }
    
        override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KtType {
            // Handle callable declarations with explicit return type first
            if (declaration is KtCallableDeclaration) {
                val typeReference = declaration.typeReference
    
                if (typeReference != null) {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.NAMED_PARAMETER_NOT_FOUND,
                Errors.NAMED_ARGUMENTS_NOT_ALLOWED,
                Errors.VARARG_OUTSIDE_PARENTHESES,
                Errors.SPREAD_OF_NULLABLE,
                Errors.SPREAD_OF_LAMBDA_OR_CALLABLE_REFERENCE,
                Errors.MANY_LAMBDA_EXPRESSION_ARGUMENTS,
                Errors.UNEXPECTED_TRAILING_LAMBDA_ON_A_NEW_LINE,
                Errors.TOO_MANY_ARGUMENTS,
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirCallableFilteringScope.kt

        protected abstract fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean
    
        private val cachedCallableNames by lazy(LazyThreadSafetyMode.NONE) {
            buildSet {
                baseScope.processAllCallables { callable ->
                    if (isTargetCallable(callable)) {
                        add(callable.name)
                    }
                }
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

        private fun FirRegularClass.isDeclared(): Boolean = symbol.classId.parentClassId == owner.classId
    
        override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean =
            callable.callableId.callableName != SpecialNames.INIT && callable.fir.isDeclared()
    
        override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) {
            delegate.processDeclaredConstructors(processor)
        }
    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)
Back to top