[SLC] make INSTANCE field for object public
^KT-56441 Fixed
This commit is contained in:
committed by
Space Team
parent
8e815e943e
commit
6c24436657
+4
-4
@@ -13,15 +13,15 @@ final class PrivateObject /* one.PrivateObject*/ {
|
||||
|
||||
private final void privateFun();// privateFun()
|
||||
|
||||
public final boolean getInternalProperty$test_module();// getInternalProperty$test_module()
|
||||
public final boolean getInternalProperty$light_idea_test_case();// getInternalProperty$light_idea_test_case()
|
||||
|
||||
public final int getPublicProperty();// getPublicProperty()
|
||||
|
||||
public final void internalFun$test_module();// internalFun$test_module()
|
||||
public final void internalFun$light_idea_test_case();// internalFun$light_idea_test_case()
|
||||
|
||||
public final void publicFun();// publicFun()
|
||||
|
||||
public final void setInternalProperty$test_module(boolean);// setInternalProperty$test_module(boolean)
|
||||
public final void setInternalProperty$light_idea_test_case(boolean);// setInternalProperty$light_idea_test_case(boolean)
|
||||
|
||||
public final void setPublicProperty(int);// setPublicProperty(int)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
final class PrivateObject /* one.PrivateObject*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final one.PrivateObject INSTANCE;
|
||||
private static java.lang.String privateProperty = "" /* initializer type: java.lang.String */;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String privateProperty = "" /* initializer type: java.lang.String */;
|
||||
public static final one.PrivateObject INSTANCE;
|
||||
|
||||
private static boolean internalProperty = false /* initializer type: boolean */;
|
||||
|
||||
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
public final class C /* C*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final C.Companion Companion;
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
class Companion ...
|
||||
|
||||
class Factory ...
|
||||
}
|
||||
|
||||
public static final class Companion /* C.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
public final void bar();// bar()
|
||||
}
|
||||
|
||||
public static final class Factory /* C.Factory*/ {
|
||||
private Factory();// .ctor()
|
||||
}
|
||||
+13
@@ -37,6 +37,15 @@ public final class C1 /* C1*/ {
|
||||
class Companion ...
|
||||
}
|
||||
|
||||
public final class C2 /* C2*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final C2.Companion Companion;
|
||||
|
||||
public C2();// .ctor()
|
||||
|
||||
class Companion ...
|
||||
}
|
||||
|
||||
public final class ClassWithConstContainer /* ClassWithConstContainer*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ClassWithConstContainer.Companion Companion;
|
||||
@@ -96,6 +105,10 @@ public static final class Companion /* I.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* C2.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* ClassWithConstContainer.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
@@ -44,6 +44,15 @@ public final class C1 /* C1*/ {
|
||||
class Companion ...
|
||||
}
|
||||
|
||||
public final class C2 /* C2*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final C2.Companion Companion;
|
||||
|
||||
public C2();// .ctor()
|
||||
|
||||
class Companion ...
|
||||
}
|
||||
|
||||
public final class ClassWithConstContainer /* ClassWithConstContainer*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ClassWithConstContainer.Companion Companion;
|
||||
@@ -103,6 +112,10 @@ public static final class Companion /* I.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* C2.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* ClassWithConstContainer.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
@@ -23,6 +23,12 @@ interface I {
|
||||
companion object { }
|
||||
}
|
||||
|
||||
class C2 {
|
||||
internal companion object {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
object Obj : java.lang.Runnable {
|
||||
@JvmStatic var x: String = ""
|
||||
override fun run() {}
|
||||
|
||||
@@ -37,6 +37,15 @@ public final class C1 /* C1*/ {
|
||||
class Companion ...
|
||||
}
|
||||
|
||||
public final class C2 /* C2*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final C2.Companion Companion;
|
||||
|
||||
public C2();// .ctor()
|
||||
|
||||
class Companion ...
|
||||
}
|
||||
|
||||
public final class ClassWithConstContainer /* ClassWithConstContainer*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ClassWithConstContainer.Companion Companion;
|
||||
@@ -65,11 +74,7 @@ private static final class Companion /* C1.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* I.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* ClassWithConstContainer.Companion*/ {
|
||||
public static final class Companion /* C2.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
@@ -100,6 +105,14 @@ public static final class Companion /* C.Companion*/ {
|
||||
public final void setX(@org.jetbrains.annotations.NotNull() java.lang.String);// setX(java.lang.String)
|
||||
}
|
||||
|
||||
public static final class Companion /* I.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public static final class Companion /* ClassWithConstContainer.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
}
|
||||
|
||||
public final class ConstContainer /* ConstContainer*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ConstContainer INSTANCE;
|
||||
|
||||
Reference in New Issue
Block a user