Make AnnotatedId deprecated

This commit is contained in:
Him188 2019-11-15 10:30:01 +08:00
parent 2953188f20
commit ccfb4f085d

View File

@ -9,6 +9,7 @@ import kotlin.reflect.KClass
/**
* ID. 除特殊外, [PacketFactory] 都需要这个注解来指定包 ID.
*/
@Deprecated("Reflection is not supported in JS. Consider to remove")
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS)