Load java: load annotations on enum entries
This commit is contained in:
+2
-1
@@ -304,7 +304,8 @@ public class DeserializedClassDescriptor(
|
||||
name ->
|
||||
if (name in enumEntryNames) {
|
||||
EnumEntrySyntheticClassDescriptor.create(
|
||||
c.storageManager, this@DeserializedClassDescriptor, name, enumMemberNames, SourceElement.NO_SOURCE
|
||||
//TODO: load annotations from class file
|
||||
c.storageManager, this@DeserializedClassDescriptor, name, enumMemberNames, Annotations.EMPTY, SourceElement.NO_SOURCE
|
||||
)
|
||||
}
|
||||
else null
|
||||
|
||||
Reference in New Issue
Block a user