#KT-27389 : Change JavaSourceRoot usages to Kotlin analogs
Original commit: 91d603292c
This commit is contained in:
committed by
Igor Yakovlev
parent
ad8101d92d
commit
21487a7b5e
@@ -23,3 +23,5 @@ object ResourceKotlinRootType : KotlinResourceRootType()
|
|||||||
object TestResourceKotlinRootType : KotlinResourceRootType() {
|
object TestResourceKotlinRootType : KotlinResourceRootType() {
|
||||||
override fun isForTests() = true
|
override fun isForTests() = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val ALL_KOTLIN_RESOURCE_ROOT_TYPES = setOf(ResourceKotlinRootType, TestResourceKotlinRootType)
|
||||||
@@ -24,3 +24,5 @@ sealed class KotlinResourceRootType(val isTest: Boolean) : JpsElementTypeBase<Ja
|
|||||||
|
|
||||||
object ResourceKotlinRootType : KotlinResourceRootType(false)
|
object ResourceKotlinRootType : KotlinResourceRootType(false)
|
||||||
object TestResourceKotlinRootType : KotlinResourceRootType(true)
|
object TestResourceKotlinRootType : KotlinResourceRootType(true)
|
||||||
|
|
||||||
|
val ALL_KOTLIN_RESOURCE_ROOT_TYPES = setOf(ResourceKotlinRootType, TestResourceKotlinRootType)
|
||||||
@@ -26,3 +26,5 @@ sealed class KotlinResourceRootType(val isTest: Boolean) : JpsElementTypeBase<Ja
|
|||||||
|
|
||||||
object ResourceKotlinRootType : KotlinResourceRootType(false)
|
object ResourceKotlinRootType : KotlinResourceRootType(false)
|
||||||
object TestResourceKotlinRootType : KotlinResourceRootType(true)
|
object TestResourceKotlinRootType : KotlinResourceRootType(true)
|
||||||
|
|
||||||
|
val ALL_KOTLIN_RESOURCE_ROOT_TYPES = setOf(ResourceKotlinRootType, TestResourceKotlinRootType)
|
||||||
@@ -24,3 +24,5 @@ sealed class KotlinResourceRootType(val isTest: Boolean) : JpsElementTypeBase<Ja
|
|||||||
|
|
||||||
object ResourceKotlinRootType : KotlinResourceRootType(false)
|
object ResourceKotlinRootType : KotlinResourceRootType(false)
|
||||||
object TestResourceKotlinRootType : KotlinResourceRootType(true)
|
object TestResourceKotlinRootType : KotlinResourceRootType(true)
|
||||||
|
|
||||||
|
val ALL_KOTLIN_RESOURCE_ROOT_TYPES = setOf(ResourceKotlinRootType, TestResourceKotlinRootType)
|
||||||
Reference in New Issue
Block a user