mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-23 08:31:33 +00:00
To fix this case in an upcoming test which adds retention(runtime) to all annotations (which resulted in duplicate annotation here)
15 lines
286 B
Java
Vendored
15 lines
286 B
Java
Vendored
package test;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
public interface EnumInParam {
|
|
public @interface MyRetention {
|
|
RetentionPolicy value();
|
|
}
|
|
|
|
@MyRetention(RetentionPolicy.RUNTIME)
|
|
public @interface RetentionAnnotation {
|
|
String value();
|
|
}
|
|
}
|