[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
annotation class Ann
|
||||
|
||||
class CustomDelegate {
|
||||
operator fun getValue(thisRef: Any?, prop: KProperty<*>): String = prop.name
|
||||
}
|
||||
|
||||
@field:Ann
|
||||
class SomeClass {
|
||||
|
||||
@field:Ann
|
||||
constructor()
|
||||
|
||||
@field:Ann
|
||||
protected val simpleProperty: String = "text"
|
||||
|
||||
@field:[Ann]
|
||||
protected val simplePropertyWithAnnotationList: String = "text"
|
||||
|
||||
@field:Ann
|
||||
protected val delegatedProperty: String by CustomDelegate()
|
||||
|
||||
@field:Ann
|
||||
val propertyWithCustomGetter: Int
|
||||
get() = 5
|
||||
|
||||
@field:Ann
|
||||
fun anotherFun(@field:Ann s: String) {
|
||||
@field:Ann
|
||||
val localVariable = 5
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class WithPrimaryConstructor(@field:Ann val a: String)
|
||||
Reference in New Issue
Block a user