mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
20 lines
470 B
Kotlin
Vendored
20 lines
470 B
Kotlin
Vendored
// FULL_JDK
|
|
// FILE: RepeatableAnnotation.java
|
|
|
|
import java.lang.annotation.Repeatable;
|
|
|
|
@Repeatable(RepeatableAnnotations.class)
|
|
public @interface RepeatableAnnotation {
|
|
}
|
|
|
|
// FILE: RepeatableAnnotations.java
|
|
|
|
public @interface RepeatableAnnotations {
|
|
RepeatableAnnotation[] value();
|
|
}
|
|
|
|
// FILE: RepeatableUse.kt
|
|
|
|
// Error should be gone when Java 8 Target will be available
|
|
@RepeatableAnnotation <!NON_SOURCE_REPEATED_ANNOTATION!>@RepeatableAnnotation<!> class My
|