Files
kotlin/compiler/testData/loadJava/compiledJava/annotations/ClassObjectArrayInParam.java
Denis Zharkov a0268d23bb Get rid of trivial allowFlexible replacing
As the type is anyway replaced with not-nullable version
explicitly, the only thing that changes is what type is loaded
for String[][].class:
- before it would be Array<Array<String?>?>
- now it's Array<(out) Array<(out) String!>!>

It's both a minor change and new behaviour can be considered
as correct
2017-07-03 17:55:37 +03:00

11 lines
280 B
Java
Vendored

package test;
public class ClassObjectArrayInParam {
public @interface Anno {
Class<?>[] value();
}
@Anno({ClassObjectArrayInParam.class, Nested.class, String.class, java.util.List.class, String[][].class, int[][].class})
public static class Nested {}
}