Generate toArray methods defined in classes inherited from collections as public even if they are declared with different visibility in Kotlin.

This commit is contained in:
Dmitry Petrov
2016-12-20 10:55:09 +03:00
parent c5d03578a3
commit 8fe9de1d35
10 changed files with 230 additions and 30 deletions
@@ -0,0 +1,15 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public class test/SingletonCollection {
private final field size: int
private final field value: java.lang.Object
public method <init>(p0: java.lang.Object): void
public method getSize(): int
public final method getValue(): java.lang.Object
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public @org.jetbrains.annotations.NotNull method toArray(): java.lang.Object[]
public @org.jetbrains.annotations.NotNull method toArray(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.Object[]
}