@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class NotNullField {
|
||||
@NotNull
|
||||
public String hi;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
open class NotNullField() {
|
||||
var hi: String = "";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace test
|
||||
|
||||
open class test.NotNullField : jet.Any {
|
||||
final /*constructor*/ fun <init>(): test.NotNullField
|
||||
var hi: jet.String
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class NotNullMethod {
|
||||
@NotNull
|
||||
public String hi() { return ""; }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
open class NotNullMethod() {
|
||||
open fun hi(): String = ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace test
|
||||
|
||||
open class test.NotNullMethod : jet.Any {
|
||||
final /*constructor*/ fun <init>(): test.NotNullMethod
|
||||
open fun hi(): jet.String
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class NotNullParameter {
|
||||
public void hi(@NotNull String param) { }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
open class NotNullParameter() {
|
||||
open fun hi(p0: String): Unit { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace test
|
||||
|
||||
open class test.NotNullParameter : jet.Any {
|
||||
final /*constructor*/ fun <init>(): test.NotNullParameter
|
||||
open fun hi(/*0*/ p0: jet.String): jet.Tuple0
|
||||
}
|
||||
Reference in New Issue
Block a user