mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Test for nullability annotations generalized and generated
This commit is contained in:
@@ -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 */ }
|
||||
}
|
||||
Reference in New Issue
Block a user