JVM: Generate object and companion object INSTANCE fields as @NotNull
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ public final class MyClass {
|
||||
@AllOpen
|
||||
@kotlin.Metadata
|
||||
public final class Obj {
|
||||
public final static field INSTANCE: Obj
|
||||
public final static @org.jetbrains.annotations.NotNull field INSTANCE: Obj
|
||||
static method <clinit>(): void
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ public abstract class Base_ShouldBeOpen {
|
||||
@kotlin.Metadata
|
||||
public final class Intf$DefaultImpls {
|
||||
inner class Intf$DefaultImpls
|
||||
public static method intfMethod(p0: Intf): void
|
||||
public static method intfMethod(@org.jetbrains.annotations.NotNull p0: Intf): void
|
||||
}
|
||||
|
||||
@AllOpen
|
||||
@@ -47,4 +47,4 @@ public class IntfImpl {
|
||||
public class IntfImpl2_ShouldBeOpen {
|
||||
public method <init>(): void
|
||||
public method intfImpl2Method_ShouldBeOpen(): void
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user