java Retention + Repeatable = kotlin.annotation.annotation (but java Repeatable is still intact), a few tests
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// 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
|
||||
|
||||
RepeatableAnnotation RepeatableAnnotation class My
|
||||
|
||||
Reference in New Issue
Block a user