Generate not-null assertions after getting a field

This commit is contained in:
Alexander Udalov
2012-10-02 22:09:02 +04:00
parent 27bea0a607
commit fcbc95bbb4
5 changed files with 31 additions and 1 deletions
@@ -1,6 +1,13 @@
import jet.runtime.typeinfo.KotlinSignature;
import org.jetbrains.annotations.NotNull;
public class A {
@NotNull
public final String NULL = null;
@NotNull
public static final String STATIC_NULL = null;
@KotlinSignature("fun foo() : String")
public String foo() {
return null;