Generate annotations for declarations in psi2ir
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
annotation class TestAnn(val x: String)
|
||||
|
||||
@TestAnn("class")
|
||||
class TestClass
|
||||
|
||||
@TestAnn("interface")
|
||||
interface TestInterface
|
||||
|
||||
@TestAnn("object")
|
||||
object TestObject
|
||||
|
||||
class Host {
|
||||
@TestAnn("companion")
|
||||
companion object TestCompanion
|
||||
}
|
||||
|
||||
@TestAnn("enum")
|
||||
enum class TestEnum
|
||||
|
||||
@TestAnn("annotation")
|
||||
annotation class TestAnnotation
|
||||
Reference in New Issue
Block a user