[Analysis API test] rename AbstractPsiDeclarationProviderSingleModuleTest to AbstractPsiDeclarationProviderSourceTest
^KT-64805
This commit is contained in:
committed by
Space Team
parent
052622b862
commit
79a8b6de1f
@@ -0,0 +1,25 @@
|
||||
// FILE: main.kt
|
||||
|
||||
package test.pkg
|
||||
|
||||
import test.pkg.ColorSpace.Companion.MaxId
|
||||
import test.pkg.ColorSpace.Companion.Min<caret>Id
|
||||
|
||||
annotation class IntRange(val from: Long, val to: Long)
|
||||
|
||||
private fun isSrgb(
|
||||
@IntRange(from = MinId.toLong(), to = MaxId.toLong()) id: Int
|
||||
): Boolean {
|
||||
return if (id == 0) true else false
|
||||
}
|
||||
|
||||
// FILE: ColorSpace.kt
|
||||
|
||||
package test.pkg
|
||||
|
||||
abstract class ColorSpace {
|
||||
internal companion object {
|
||||
internal const val MinId = -1
|
||||
internal const val MaxId = 63
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user