Files
kotlin-fork/plugins/annotation-processing/testData/processors/AsMemberOf.kt
T
2016-10-07 16:28:23 +03:00

17 lines
222 B
Kotlin
Vendored

open class Base<T> {
@JvmField
val f: T = null!!
fun m(t: T): T = null!!
}
class Impl<T> : Base<T>() {
fun implM(t: T): T = null!!
}
annotation class Anno
@Anno
class Test {
val f = Impl<String>()
}