c6c1673902
Blacklist some common-used Java and Kotlin annotations instead (like Deprecated, Nullable or Metadata). (cherry picked from commit 6856a7c)
16 lines
353 B
Kotlin
Vendored
16 lines
353 B
Kotlin
Vendored
abstract class Base<A> {
|
|
fun baseF(): A = null!!
|
|
}
|
|
|
|
annotation class Anno
|
|
|
|
@Anno
|
|
class Test<T> : Base<Int>() {
|
|
fun a(): String = ""
|
|
fun b(i: String, b: CharSequence) {}
|
|
fun c(): Int = 5
|
|
fun d(): T = null!!
|
|
fun <D : Any> e(item: D): D = item
|
|
fun f(items: List<Map<String, Int>>, i: Int) {}
|
|
fun <D : String> g(item: D) {}
|
|
} |