[AA] Add tests for retrieving field and parameter annotation types

This commit is contained in:
Bart van Helvert
2023-10-25 17:02:56 +02:00
committed by Space Team
parent b9090e12b8
commit 793e7aa1d1
8 changed files with 66 additions and 0 deletions
@@ -0,0 +1,6 @@
annotation class Anno
class Sub(
@An<caret>no
var x: Int
)
@@ -0,0 +1,2 @@
expression: Anno
ktType: Anno
@@ -0,0 +1,8 @@
@Target(AnnotationTarget.FIELD)
annotation class Anno
class Sub(
@An<caret>no
@JvmField
var x: Int
)
@@ -0,0 +1,2 @@
expression: Anno
ktType: Anno