nullity: initial tests

This commit is contained in:
anna
2010-09-06 12:07:26 +04:00
parent 58eae8963e
commit 0f1d1622f7
13 changed files with 466 additions and 4 deletions
@@ -0,0 +1,15 @@
import org.jetbrains.annotations.*;
class Test {
void foo(@NotNull String s) {
s.substring(0);
}
/**
* @param str
*/
void bar(@NotNull String str) {
if (str.substring(0) == null) {
}
}
}