Render decompiled annotations on enum entries
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
import dependency.*
|
||||
|
||||
enum class AnnotatedEnumEntry {
|
||||
Entry1,
|
||||
@A("2") @B(2) Entry2,
|
||||
@A("3") Entry3
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package dependency
|
||||
|
||||
@Target(AnnotationTarget.FIELD)
|
||||
annotation class A(val s: String)
|
||||
|
||||
@Target(AnnotationTarget.FIELD)
|
||||
annotation class B(val i: Int)
|
||||
Reference in New Issue
Block a user