J2K: convert annotations in annotations parameters correctly
#KT-11126 Fixed
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
public @interface Ann {
|
||||
Inner[] value();
|
||||
InnerParam[] test1() default @InnerParam(C.class);
|
||||
}
|
||||
|
||||
public @interface Inner {
|
||||
|
||||
}
|
||||
|
||||
public @interface InnerParam {
|
||||
Class<?> value();
|
||||
}
|
||||
|
||||
@Ann(value = {@Inner, @Inner}, test1 = { @InnerParam(C.class) })
|
||||
public class C {
|
||||
}
|
||||
|
||||
@Ann({@Inner, @Inner})
|
||||
public class D {
|
||||
}
|
||||
|
||||
@Ann(value = @Inner)
|
||||
public class E {
|
||||
}
|
||||
|
||||
@Ann(value = {@Inner}, test1 = { @InnerParam(value = C.class) })
|
||||
public class F {
|
||||
}
|
||||
Reference in New Issue
Block a user