Minor, change annotation in test data
To fix this case in an upcoming test which adds retention(runtime) to all annotations (which resulted in duplicate annotation here)
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package test;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
public interface EnumInParam {
|
||||
public @interface MyRetention {
|
||||
RetentionPolicy value();
|
||||
}
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@MyRetention(RetentionPolicy.RUNTIME)
|
||||
public @interface RetentionAnnotation {
|
||||
String value();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,12 @@ package test
|
||||
|
||||
public trait EnumInParam {
|
||||
|
||||
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : kotlin.Annotation {
|
||||
public final annotation class MyRetention : kotlin.Annotation {
|
||||
public constructor MyRetention(/*0*/ value: java.lang.annotation.RetentionPolicy)
|
||||
public abstract fun value(): java.lang.annotation.RetentionPolicy
|
||||
}
|
||||
|
||||
test.EnumInParam.MyRetention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : kotlin.Annotation {
|
||||
public constructor RetentionAnnotation(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user