[JPS] Fix incremental build after changing Java constant
InlineConstantTracker implemented for tracking changed java static final constants, that used in kotlin. #KT-46506 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
23420ecf7a
commit
cc5382b37e
+16
@@ -0,0 +1,16 @@
|
||||
package org.jetbrains.kotlin.incremental.components
|
||||
|
||||
import org.jetbrains.kotlin.container.DefaultImplementation
|
||||
import java.io.Serializable
|
||||
|
||||
@DefaultImplementation(InlineConstTracker.DoNothing::class)
|
||||
interface InlineConstTracker {
|
||||
fun report(filePath: String, cRefs: Collection<ConstantRef>)
|
||||
|
||||
object DoNothing : InlineConstTracker {
|
||||
override fun report(filePath: String, cRefs: Collection<ConstantRef>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data class ConstantRef(var owner: String, var name: String, var constType: String) : Serializable
|
||||
Reference in New Issue
Block a user