Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for docstring (0.23 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

                                withEntry("value", value) { value.toString() }
                            }
                        },
                        builder.token
                    )
                )
                else -> errorWithAttachment("Can't convert ${returnsEffect::class} to the Analysis API")  {
                    withEntry("value", value) { value.toString() }
                }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jul 26 14:29:20 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

        companion object {
            fun getNestedType(type: KotlinType): NestedType {
                val possiblyInnerType = type.buildPossiblyInnerType() ?: throw IllegalArgumentException(type.toString())
                val innerTypesAsList = possiblyInnerType.segments()
                val indexOfParameterizedType = innerTypesAsList.indexOfFirst { innerPart -> innerPart.arguments.isNotEmpty() }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

                }
            }
            val kotlinType = descriptor?.defaultType
                ?: ErrorUtils.createErrorType(ErrorTypeKind.NOT_FOUND_DESCRIPTOR_FOR_TYPE_PARAMETER, builder.toString())
            return kotlinType.toKtType(analysisContext) as KtTypeParameterType
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Jan 10 12:54:17 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                    else -> {
                        val errorType =
                            ErrorUtils.createErrorType(ErrorTypeKind.UNRESOLVED_CLASS_TYPE, typeConstructor, typeDeclaration.toString())
                        KtFe10ClassErrorType(errorType, analysisContext)
                    }
                }
    
            }
            else -> error("Unexpected type $this")
        }
    }
    
    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)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                is KtConstantAnnotationValue -> {
                    printer.append(value.constantValue.constantValueKind.asString)
                        .append("(")
                        .append(value.constantValue.value.toString())
                        .append(")")
                }
    
                is KtUnsupportedAnnotationValue -> {
                    printer.append(KtUnsupportedAnnotationValue::class.java.simpleName)
                }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            else -> errorWithAttachment("FirScope ${this::class}` is expected to be one of FirNestedClassifierScope and FirClassUseSiteMemberScope to get ClassId") {
                withEntry("firScope", this@correspondingClassIdIfExists) { it.toString() }
            }
        }
    
        private fun ClassId.idWithoutCompanion() = if (shortClassName == SpecialNames.DEFAULT_NAME_FOR_COMPANION_OBJECT) outerClassId else this
    
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

                }
            } ?: TODO(descriptor::class.java.name)
            val libraryPath = Paths.get(library)
            return object : KtLibraryModule {
                override val libraryName: String = libraryPath.fileName.toString().substringBeforeLast(".")
                override val librarySources: KtLibrarySourceModule? = null
                override fun getBinaryRoots(): Collection<Path> = listOf(libraryPath)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 21 15:34:34 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            val kotlinType = (getSymbolDescriptor(symbol) as? ClassDescriptor)?.defaultType
                ?: ErrorUtils.createErrorType(ErrorTypeKind.UNRESOLVED_CLASS_TYPE, symbol.nameOrAnonymous.toString())
            return kotlinType.toKtType(analysisContext)
        }
    
        override fun commonSuperType(types: Collection<KtType>): KtType {
            val kotlinTypes = types.map { (it as KtFe10Type).fe10Type }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  9. ChangeLog.md

    - [`KT-58153`](https://youtrack.jetbrains.com/issue/KT-58153) K2/MPP/JVM&Native: cannot override Any::toString when an expect-supertype has Any::toString override in actual-class
    - [`KT-58124`](https://youtrack.jetbrains.com/issue/KT-58124) K2: FIR2IR compiler crash with MPP (Fir2IrSimpleFunctionSymbol is already bound)
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

                if (classifier is FirRegularClassSymbol && classifier.fir.isDeclared()) {
                    processor(classifier, substitutor)
                }
            }
        }
    
        override fun toString(): String = "Declared member scope for $delegate with owning class `${owner.classId}`"
    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