summaryrefslogtreecommitdiff
path: root/plugins/kotlin/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/JpsCompilerEnvironment.kt
blob: 4ef116ad1e5fe72527ef11d22b21f1f2f9c2c9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.

package org.jetbrains.kotlin.compilerRunner

import org.jetbrains.kotlin.cli.common.messages.MessageCollector
import org.jetbrains.kotlin.config.Services
import org.jetbrains.kotlin.idea.artifacts.KotlinArtifacts
import org.jetbrains.kotlin.preloading.ClassCondition
import org.jetbrains.kotlin.utils.KotlinPaths

class JpsCompilerEnvironment(
    services: Services,
    val classesToLoadByParent: ClassCondition,
    messageCollector: MessageCollector,
    outputItemsCollector: OutputItemsCollectorImpl,
    val progressReporter: ProgressReporter
) : CompilerEnvironment(services, messageCollector, outputItemsCollector) {
    override val outputItemsCollector: OutputItemsCollectorImpl
        get() = super.outputItemsCollector as OutputItemsCollectorImpl
}