[Analysis API] Move testdata for scope provider

This commit is contained in:
aleksandrina-streltsova
2023-03-12 13:10:14 +02:00
committed by teamcity
parent 4b7164a557
commit e8272fa02e
166 changed files with 184 additions and 191 deletions
@@ -0,0 +1,40 @@
// WITH_STDLIB
fun function(): Int = 1
@JvmOverloads
fun functionWithDefault(par1: Int) = Unit
val testVal: Int = 2
var initializedVariable = 3
var unitializedVariable: Long
lateinit var lateinitVariable: String
var variableWithBackingField: Long = 4
get() = field
@set:JvmName("customPrivateSetter")
var privateSetter = ""
private set
var jvmNameOnSetter = ""
@JvmName("customPrivateSetter")
private set
@get:JvmName("myCustomGetter")
val customGetter: Int get() = 2
val jvmNameOnGetter: Int @JvmName("myCustomGetter") get() = 2
val Int.propertyWithReceiver: Int get() = this
val <T> T.propertyWithGenericReceiver: Int get() = 23
class OuterClass {
class NestedClass
}
const val constant = 2
@JvmField
var jvmField: Long = 2