#KT-27389 : Change JavaSourceRoot usages to Kotlin analogs
Original commit: 91d603292c
This commit is contained in:
committed by
Igor Yakovlev
parent
ad8101d92d
commit
21487a7b5e
@@ -22,4 +22,6 @@ 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)
|
||||||
@@ -23,4 +23,6 @@ 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)
|
||||||
@@ -25,4 +25,6 @@ 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)
|
||||||
@@ -23,4 +23,6 @@ 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