Render decompiled annotations on enum entries
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package test
|
||||
|
||||
public final enum class AnnotatedEnumEntry private constructor() : kotlin.Enum<test.AnnotatedEnumEntry> {
|
||||
Entry1,
|
||||
|
||||
@dependency.A @dependency.B Entry2,
|
||||
|
||||
@dependency.A Entry3;
|
||||
}
|
||||
+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