Test: 'constructor' methods visibility
This commit is contained in:
+2
@@ -2,4 +2,6 @@
|
||||
|
||||
inline class Foo(val x: Int) {
|
||||
constructor(x: Long) : this(x.toInt())
|
||||
internal constructor(x: Int, y: Int) : this(x + y)
|
||||
private constructor(x: Short) : this(x.toInt())
|
||||
}
|
||||
+2
@@ -4,7 +4,9 @@ public final class Foo {
|
||||
private synthetic method <init>(p0: int): void
|
||||
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
||||
public static method constructor(p0: int): int
|
||||
public static method constructor(p0: int, p1: int): int
|
||||
public static method constructor(p0: long): int
|
||||
private static method constructor(p0: short): int
|
||||
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final static method equals-impl0(p0: int, p1: int): boolean
|
||||
|
||||
Reference in New Issue
Block a user