JVM_IR: move serialized IR to a separate annotation

This commit is contained in:
Georgy Bronnikov
2021-09-21 17:27:23 +03:00
parent fcf44be785
commit 41e38d5a1a
5 changed files with 86 additions and 25 deletions
@@ -0,0 +1,17 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.jvm.internal
/**
* This annotation is used to store serialized IR data inside classfiles.
*/
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
@SinceKotlin("1.6")
annotation class SerializedIr(
@get:JvmName("b")
val bytes: Array<String> = []
)