Load java: load annotations on enum entries

This commit is contained in:
Pavel V. Talanov
2015-12-09 17:56:18 +03:00
parent fb19552920
commit 280e00981f
7 changed files with 71 additions and 6 deletions
@@ -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