mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed #KT-5255 Fixed
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
public final class Synthetic implements kotlin.jvm.internal.KObject {
|
||||
private final void foo() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public Synthetic() { /* compiled code */ }
|
||||
|
||||
public final class Inner implements kotlin.jvm.internal.KObject {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final void test() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public Inner() { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user