Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for appendTime (0.31 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/references/ShorteningResultsRenderer.kt

        fun StringBuilder.renderShorteningResults(shortening: ShortenCommand) {
            if (shortening.isEmpty) {
                appendLine("EMPTY_SHORTENINGS")
                return
            }
    
            shortening.listOfTypeToShortenInfo.forEach { (userType, shortenedRef) ->
                userType.element?.text?.let {
                    appendLine("[type] $it${shortenedRef?.let { ref -> " -> $ref" } ?: ""}")
                }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 20 20:18:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSymbolSubstitutionTest.kt

                prettyPrint {
                    appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}")
    
                    appendLine("Symbol:")
                    appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    
                    appendLine()
    
                    appendLine("Signature:")
                    appendLine(stringRepresentation(signature))
                }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt

                    is StageFailure.NoSchemaAvailable -> appendLine("No associated schema for ${stageFailure.scriptContext}")
                    is StageFailure.AssignmentErrors -> {
                        appendLine("Failures in assignments:".indent(1))
                        stageFailure.usages.forEach { unassigned ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractTypeTest.kt

                val type = getType(analysisSession, mainFile, mainModule, testServices)
    
                buildString {
                    appendLine(DebugSymbolRenderer(renderTypeByProperties = true).renderType(analysisSession, type))
    
                    appendLine()
                    appendLine("Rendered type:")
                    appendLine(type.render(position = Variance.INVARIANT))
                }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/smartCastProvider/AbstractHLSmartCastInfoTest.kt

                analyseForTest(expression) {
                    val smartCastInfo = expression.getSmartCastInfo()
                    buildString {
                        appendLine("expression: ${expression.text}")
                        appendLine("isStable: ${smartCastInfo?.isStable}")
                        appendLine("smartCastType: ${smartCastInfo?.smartCastType?.render(position = Variance.INVARIANT)}")
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtContractDescriptionElementRenderer.kt

        if (endWithNewLine) printer.appendLine(renderedValue) else printer.append(renderedValue)
    }
    
    internal data class Context(val session: KaSession, val printer: PrettyPrinter, val symbolRenderer: DebugSymbolRenderer)
    
    private fun PrettyPrinter.appendHeader(clazz: KClass<*>, body: PrettyPrinter.() -> Unit) {
        append(clazz.simpleName)
        appendLine(":")
        withIndent { body() }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations/AbstractAnalysisApiAnnotationsOnTypesTest.kt

                buildString {
                    appendLine("${KtTypeReference::class.simpleName}: ${ktTypeReference.text}")
                    appendLine("annotations: [")
                    for (annotation in annotations) {
                        appendLine(DebugSymbolRenderer().renderAnnotationApplication(analysisSession, annotation).indented(indent = 2))
                    }
                    appendLine("]")
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/psiTypeProvider/AbstractAnalysisApiExpressionPsiTypeProviderTest.kt

                                    appendLine("asPsiType(allowErrorTypes=$allowErrorTypes, mode=$typeMappingMode, isAnnotationMethod=$isAnnotationMethod):")
                                    withIndent {
                                        appendLine("PsiType: ${AnalysisApiPsiTypeProviderTestUtils.render(psiType)}")
                                    }
                                    appendLine()
                                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt

            withIndent {
                appendLine()
                renderProperty(KaCallableSymbol::callableId, printer, renderSymbolsFully = false, symbol)
                if (symbol is KaNamedSymbol) {
                    appendLine()
                    renderProperty(KaNamedSymbol::name, printer, renderSymbolsFully = false, symbol)
                }
                appendLine()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractFunctionClassKindTest.kt

                }
            }
            val actual = buildString {
                appendLine("expression: ${expressionAtCaret.text}")
                appendLine("expected type: $type")
                appendLine("functionClassKind: $functionClassKind")
            }
            testServices.assertions.assertEqualsToTestDataFileSibling(actual)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top