Serialize/deserialize annotations on enum entries
#KT-10338 Fixed
This commit is contained in:
+5
@@ -52,6 +52,11 @@ public class AnnotationLoaderForStubBuilderImpl(
|
||||
}
|
||||
}
|
||||
|
||||
override fun loadEnumEntryAnnotations(container: ProtoContainer, proto: ProtoBuf.EnumEntry): List<ClassId> {
|
||||
// TODO
|
||||
return listOf()
|
||||
}
|
||||
|
||||
override fun loadValueParameterAnnotations(
|
||||
container: ProtoContainer,
|
||||
message: MessageLite,
|
||||
|
||||
+1
-1
@@ -172,7 +172,7 @@ private class ClassClsStubBuilder(
|
||||
}
|
||||
|
||||
private fun createEnumEntryStubs(classBody: KotlinPlaceHolderStubImpl<KtClassBody>) {
|
||||
classProto.getEnumEntryList().forEach { id ->
|
||||
classProto.getEnumEntryNameList().forEach { id ->
|
||||
val name = c.nameResolver.getName(id)
|
||||
KotlinClassStubImpl(
|
||||
KtStubElementTypes.ENUM_ENTRY,
|
||||
|
||||
Reference in New Issue
Block a user