Minor. Move serialization annotation fq-names to IDE light-classes
They are a kind of a hack applied in light-classes and it'd be nice to prevent them being used in irrelevant contexts kotlin-serialization-compiler module should not depend on idea, thus we can't use annotations directly there. So, we copy-paste them and add a test on names consistency
This commit is contained in:
@@ -42,6 +42,3 @@ fun AnnotationDescriptor.argumentValue(parameterName: String): ConstantValue<*>?
|
||||
DeprecationLevel.ERROR
|
||||
)
|
||||
val JVM_FIELD_ANNOTATION_FQ_NAME = FqName("kotlin.jvm.JvmField")
|
||||
|
||||
val KOTLINX_SERIALIZABLE_FQ_NAME = FqName("kotlinx.serialization.Serializable")
|
||||
val KOTLINX_SERIALIZER_FQ_NAME = FqName("kotlinx.serialization.Serializer")
|
||||
|
||||
Reference in New Issue
Block a user