Test for nullability annotations generalized and generated

This commit is contained in:
Andrey Breslav
2014-05-23 08:52:52 +02:00
parent 6617a884e4
commit afca70eb41
30 changed files with 228 additions and 116 deletions

View File

@@ -0,0 +1,15 @@
public final class ClassWithConstructorAndProperties implements kotlin.jvm.internal.KObject {
@org.jetbrains.annotations.Nullable
private final java.lang.String nullable;
@org.jetbrains.annotations.NotNull
private final java.lang.String notNull;
@org.jetbrains.annotations.Nullable
public final java.lang.String getNullable() { /* compiled code */ }
@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 */ }
}