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
+5
View File
@@ -0,0 +1,5 @@
import java.lang.RuntimeException
val v: String? = param[0]
if (v == null) System.out.println("nullable") else RuntimeException("non nullable projection")