[Analysis API] Render annotations of type parameters

This commit is contained in:
aleksandrina-streltsova
2023-03-01 13:12:00 +02:00
committed by Space Team
parent 0c2e3d2d48
commit 1a10e0fdb6
10 changed files with 48 additions and 2 deletions
@@ -1,4 +1,6 @@
interface List<out T : Any> {
@Target(AnnotationTarget.TYPE_PARAMETER) annotation class A
interface List<@A out T : Any> {
operator fun get(index: Int): T
infix fun concat(other: List<T>): List<T>
@@ -1,4 +1,7 @@
interface List<out T : Any> {
@Target(allowedTargets = [kotlin.annotation.AnnotationTarget.TYPE_PARAMETER])
annotation class A
interface List<@A out T : Any> {
infix fun concat(other: List<T>): List<T>
operator fun get(index: Int): T