Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for JvmPackagePartProvider (0.23 sec)

  1. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/util/LibraryUtils.kt

         *
         * By default, given [jar], the root, will be included. Pass [includeRoot = false] if not needed.
         *   Note that, thought, [JvmPackagePartProvider#addRoots] is checking if the root file is in the scope when loading Kotlin modules.
         *   Thus, if this util is used to populate files for the scope of the Kotlin module as a library, the root should be added too.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Sep 06 07:36:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

        fun createPackagePartsProvider(
            libraryRoots: List<JavaRoot>,
            languageVersionSettings: LanguageVersionSettings = latestLanguageVersionSettings,
        ): (GlobalSearchScope) -> JvmPackagePartProvider = { scope ->
            JvmPackagePartProvider(languageVersionSettings, scope).apply {
                addRoots(libraryRoots, MessageCollector.NONE)
            }
        }
    
        private val latestLanguageVersionSettings: LanguageVersionSettings =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top