mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
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).
9 lines
172 B
Kotlin
Vendored
9 lines
172 B
Kotlin
Vendored
import java.lang.annotation.Retention
|
|
import java.lang.annotation.RetentionPolicy
|
|
|
|
Ann class MyClass
|
|
|
|
Retention(RetentionPolicy.RUNTIME)
|
|
annotation class Ann
|
|
|
|
// 1 @LAnn;() |