Generate @Nullable/@NotNull annotations on Kotlin declarations (for IDEA interop)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
public final class ClassWithConstructorAndProperties implements jet.JetObject {
|
||||
@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 p, @org.jetbrains.annotations.NotNull @jet.runtime.typeinfo.JetValueParameter(name = "notNull") java.lang.String p1) { /* compiled code */ }
|
||||
}
|
||||
Reference in New Issue
Block a user