JVM: Generate object and companion object INSTANCE fields as @NotNull
This commit is contained in:
@@ -5,12 +5,14 @@ public final class A {
|
||||
public B() { /* compiled code */ }
|
||||
|
||||
public static final class I {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final A.B.I INSTANCE;
|
||||
|
||||
private I() { /* compiled code */ }
|
||||
}
|
||||
|
||||
public static final class II {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final A.B.II INSTANCE;
|
||||
|
||||
private II() { /* compiled code */ }
|
||||
@@ -18,16 +20,19 @@ public final class A {
|
||||
}
|
||||
|
||||
public static final class C {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final A.C INSTANCE;
|
||||
|
||||
private C() { /* compiled code */ }
|
||||
|
||||
public static final class D {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final A.C.D INSTANCE;
|
||||
|
||||
private D() { /* compiled code */ }
|
||||
|
||||
public static final class G {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final A.C.D.G INSTANCE;
|
||||
|
||||
private G() { /* compiled code */ }
|
||||
|
||||
Reference in New Issue
Block a user