Last active
April 22, 2022 16:48
-
-
Save mehdiyari/79a04ede388da71bd7bd9d452ddad609 to your computer and use it in GitHub Desktop.
This gist is part of meta-programming with kotlin articles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(AnnotationRetention.RUNTIME) | |
@Target(AnnotationTarget.CLASS) | |
@SinceKotlin("1.3") | |
annotation class Metadata( | |
@get:JvmName("k") val kind: Int = 1, | |
@get:JvmName("mv") val metadataVersion: IntArray = [], | |
@get:JvmName("bv") val bytecodeVersion: IntArray = [1, 0, 3], | |
@get:JvmName("di") val data1: Array<String> = [], | |
@get:JvmName("d2") val data2: Array<String> = [], | |
@get:JvmName("xs") val extraString: String = "", | |
@SinceKotlin("1.2") @get:JvmName("pn") val packageName: String = "", | |
@SinceKotlin("1.1") @get:JvmName("xi") val extraInt: Int = 0 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment