Partly support generics and nullable types as parameters for script templates

This commit is contained in:
Mikhail Zarechenskiy
2016-09-05 19:02:11 +03:00
parent 7230965e62
commit 3ad451e33e
8 changed files with 111 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
import java.lang.RuntimeException
val k: Int? = param
if (k == null) System.out.println("Param is null") else throw RuntimeException("param is not null")