Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed #KT-5255 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
public final class C implements kotlin.jvm.internal.KObject, Tr {
|
||||
private final int v = 1;
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.Integer foo() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.Integer getV() { /* compiled code */ }
|
||||
|
||||
public C() { /* compiled code */ }
|
||||
}
|
||||
Reference in New Issue
Block a user