609d696202
Annotation arguments with default values are rendered as ... if renderDefaultAnnotationArguments is true. Tests: java retention does not taken into account by Descriptor comparator. Java retentinon changed to kotlin retention in some tests + one new test with java retention added. More accurate tests for intentions in byte code (visibility controlled).
14 lines
403 B
Kotlin
Vendored
14 lines
403 B
Kotlin
Vendored
package constants
|
|
|
|
public val b: Byte = 100
|
|
public val s: Short = 20000
|
|
public val i: Int = 2000000
|
|
public val l: Long = 2000000000000L
|
|
public val f: Float = 3.14f
|
|
public val d: Double = 3.14
|
|
public val bb: Boolean = true
|
|
public val c: Char = '\u03c0' // pi symbol
|
|
|
|
public val str: String = ":)"
|
|
|
|
public annotation(retention = AnnotationRetention.RUNTIME) class AnnotationClass(public val value: String) |