Drop package facades:

- update tests
- cleanup JetTyMapper after rebase
This commit is contained in:
Dmitry Petrov
2015-10-19 15:20:23 +03:00
parent 639300a89d
commit dda508234f
17 changed files with 83 additions and 82 deletions
@@ -0,0 +1,36 @@
// FileFacadeKt
import org.jetbrains.annotations.NotNull
import org.jetbrains.annotations.Nullable
fun notNull(a: String): String = ""
fun nullable(a: String?): String? = ""
@NotNull fun notNullWithNN(): String = ""
@Nullable fun notNullWithN(): String = ""
@Nullable fun nullableWithN(): String? = ""
@NotNull fun nullableWithNN(): String? = ""
val nullableVal: String? = ""
var nullableVar: String? = ""
val notNullVal: String = ""
var notNullVar: String = ""
val notNullValWithGet: String
@[Nullable] get() = ""
var notNullVarWithGetSet: String
@[Nullable] get() = ""
@[Nullable] set(v) {}
val nullableValWithGet: String?
@[NotNull] get() = ""
var nullableVarWithGetSet: String?
@NotNull get() = ""
@NotNull set(v) {}
private val privateNn: String = ""
private val privateN: String? = ""
private fun privateFun(a: String, b: String?): String? = null