Do not generate @NotNull annotations on void- or primitive-returning methods

#KT-4834 Fixed
  #KT-5255 Fixed
This commit is contained in:
Andrey Breslav
2014-06-21 15:08:43 +04:00
parent b6aff9e9ee
commit 38d4ca5469
27 changed files with 136 additions and 48 deletions

View File

@@ -10,6 +10,5 @@ public final class ClassWithConstructorAndProperties implements kotlin.jvm.inter
@org.jetbrains.annotations.NotNull
public final java.lang.String getNotNull() { /* compiled code */ }
@org.jetbrains.annotations.NotNull
public ClassWithConstructorAndProperties(@org.jetbrains.annotations.Nullable @jet.runtime.typeinfo.JetValueParameter(name = "nullable", type = "?") java.lang.String nullable, @org.jetbrains.annotations.NotNull @jet.runtime.typeinfo.JetValueParameter(name = "notNull") java.lang.String notNull) { /* compiled code */ }
}