Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for sorted (0.4 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/importOptimizer/AbstractAnalysisApiImportOptimizerTest.kt

                val sortedUsedDeclarations = importsAnalysis.usedDeclarations
                    .toSortedMap(compareBy { importPath -> importPath.toString() })
                    .mapValues { (_, importedNames) -> importedNames.sorted() }
    
                appendLine("USED DECLARATIONS:")
                for ((path, elements) in sortedUsedDeclarations) {
                    appendLine()
                    appendLine("Declaration: $path")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolInfoProvider/AbstractAnnotationApplicableTargetsTest.kt

                val applicableTargetsInOrder =
                    annotationClassSymbol.annotationApplicableTargets
                        ?.map { it.name }
                        ?.sorted()
                        ?.joinToString(prefix = "[", separator = ", ", postfix = "]")
                        ?: "<null>"
    
                buildString {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            + getBoundKeys().stream()
                                    .map(Key::toString)
                                    .map(String::trim)
                                    .sorted()
                                    .distinct()
                                    .collect(Collectors.joining("\n - ", " - ", "")));
                }
            };
            injector.bindScope(SessionScoped.class, () -> {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/diagnosticProvider/AbstractCollectDiagnosticsTest.kt

            }
    
            analyseForTest(ktFile) {
                val diagnosticsInFile =
                    ktFile.collectDiagnosticsForFile(KaDiagnosticCheckerFilter.EXTENDED_AND_COMMON_CHECKERS).map { it.getKey() }.sorted()
                val diagnosticsFromElements = buildList {
                    ktFile.accept(object : KtTreeVisitorVoid() {
                        override fun visitKtElement(element: KtElement) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/references/TestReferenceResolveResultRenderer.kt

        ): String {
            if (symbols.isEmpty()) return UNRESOLVED_REFERENCE_RESULT
    
            val sortedSymbols = symbols.map { renderResolveResult(it, renderPsiClassName, renderer, additionalInfo) }.sorted()
            if (sortedSymbols.size == 1) {
                return sortedSymbols.single()
            }
    
            return sortedSymbols
                .withIndex()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri May 31 19:52:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/TestScopeRenderer.kt

        appendLine("Callable names:")
        withIndent {
            renderSortedNames(scope.getPossibleCallableNames())
        }
    }
    
    private fun PrettyPrinter.renderSortedNames(names: Set<Name>) {
        names.sorted().forEach { appendLine(it.toString()) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt

            testServices: TestServices,
        ) {
            val invalidatedModuleDescriptions = invalidatedSessions
                .map { getSessionKtModule(it).toString() }
                .distinct()
                .sorted()
    
            val actualText = buildString {
                appendLine("Module names of invalidated sessions:")
                invalidatedModuleDescriptions.forEach { appendLine(it) }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // ensure canonical order of standard lifecycles
            return lifecyclesMap.values().stream()
                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
                    .sorted(Comparator.comparing(Lifecycle::getId, comparator))
                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Override
        public void addResource(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Resource resource) {
            // TODO: we should not modify the underlying model here, but resources should be stored
            // TODO: in a separate field in the project, however, that could break v3 plugins
            MavenProject prj = getMavenProject(nonNull(project, "project"));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceShortener.kt

    public typealias KtReferenceShortener = KaReferenceShortener
    
    public interface KaReferenceShortenerMixIn : KaSessionMixIn {
    
        /**
         * Collects possible references to shorten. By default, it shortens a fully-qualified members to the outermost class and does not
         * shorten enum entries.  In case of KDoc shortens reference only if it is already imported.
         *
         * N.B. This API is not implemented for the FE10 implementation!
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top