mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-06 15:53:19 +00:00
Using "JVM_1_8" always resulted in incorrect mapping of Kotlin
annotation targets to Java element types.
The change in AbstractKotlinRenderLogTest is needed because while
CliTraceHolder.module is technically a descriptor leak, it was never
detected by this test accidentally, because of the depth cutoff equal to
10, which started to not be enough after the minor refactoring of
replacing `Delegates.notNull` with `lateinit`.
(cherry picked from commit adfa8c788c)
12 lines
532 B
Java
Vendored
12 lines
532 B
Java
Vendored
@java.lang.annotation.Documented()
|
|
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
|
|
@java.lang.annotation.Target(value = {})
|
|
@kotlin.annotation.MustBeDocumented()
|
|
@kotlin.annotation.Repeatable()
|
|
@kotlin.annotation.Retention(value = kotlin.annotation.AnnotationRetention.SOURCE)
|
|
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.TYPE_PARAMETER, kotlin.annotation.AnnotationTarget.TYPE})
|
|
public abstract @interface Anno /* Anno*/ {
|
|
public abstract int i();// i()
|
|
|
|
}
|