[SLC] KT-54804 Erase type and drop receiver annotations in $annotations methods
This commit is contained in:
committed by
Space Team
parent
6d06f29326
commit
0ef31501b1
@@ -0,0 +1,32 @@
|
||||
// !GENERATE_PROPERTY_ANNOTATIONS_METHODS
|
||||
|
||||
annotation class Anno(val p: String = "")
|
||||
|
||||
|
||||
@Deprecated("deprecated")
|
||||
val deprecated = 0
|
||||
|
||||
@Volatile
|
||||
@Transient
|
||||
var jvmFlags = 0
|
||||
|
||||
class C {
|
||||
companion object {
|
||||
@Anno("x")
|
||||
val x = 1
|
||||
|
||||
@JvmStatic
|
||||
@Anno("y")
|
||||
val y = 2
|
||||
}
|
||||
}
|
||||
|
||||
@Anno("propery")
|
||||
val <T: Any> @receiver:Anno("receiver") List<T>.extensionProperty: Int
|
||||
get() = 0
|
||||
|
||||
@Anno("nullable")
|
||||
val nullable: String? = null
|
||||
|
||||
@Anno("nonNullable")
|
||||
val nonNullable: String = ""
|
||||
Reference in New Issue
Block a user