mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
This has no visible consequences at the moment, but will help once we need to load such argument from some annotation in the compiler in the future
26 lines
1.5 KiB
Plaintext
Vendored
26 lines
1.5 KiB
Plaintext
Vendored
package test
|
|
|
|
public final annotation class Anno : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno(/*0*/ bytes: kotlin.ByteArray, /*1*/ shorts: kotlin.ShortArray, /*2*/ ints: kotlin.IntArray, /*3*/ longs: kotlin.LongArray, /*4*/ chars: kotlin.CharArray, /*5*/ floats: kotlin.FloatArray, /*6*/ doubles: kotlin.DoubleArray, /*7*/ booleans: kotlin.BooleanArray)
|
|
public final val booleans: kotlin.BooleanArray
|
|
public final fun <get-booleans>(): kotlin.BooleanArray
|
|
public final val bytes: kotlin.ByteArray
|
|
public final fun <get-bytes>(): kotlin.ByteArray
|
|
public final val chars: kotlin.CharArray
|
|
public final fun <get-chars>(): kotlin.CharArray
|
|
public final val doubles: kotlin.DoubleArray
|
|
public final fun <get-doubles>(): kotlin.DoubleArray
|
|
public final val floats: kotlin.FloatArray
|
|
public final fun <get-floats>(): kotlin.FloatArray
|
|
public final val ints: kotlin.IntArray
|
|
public final fun <get-ints>(): kotlin.IntArray
|
|
public final val longs: kotlin.LongArray
|
|
public final fun <get-longs>(): kotlin.LongArray
|
|
public final val shorts: kotlin.ShortArray
|
|
public final fun <get-shorts>(): kotlin.ShortArray
|
|
}
|
|
|
|
@test.Anno(booleans = {true, false}, bytes = {42.toByte(), -1.toByte()}, chars = {\u0061 ('a'), \u005A ('Z')}, doubles = {42.0.toDouble(), -3.14.toDouble()}, floats = {2.72.toFloat(), 0.0.toFloat()}, ints = {42, 239}, longs = {42.toLong(), 239.toLong()}, shorts = {-42.toShort(), 0.toShort()}) public final class Klass {
|
|
/*primary*/ public constructor Klass()
|
|
}
|