infer nullity: skip () and type casts correctly (IDEA-64419)

This commit is contained in:
anna
2011-01-20 18:51:34 +01:00
parent f00ece4ba3
commit b4f660521a
3 changed files with 27 additions and 1 deletions
@@ -12,4 +12,12 @@ class Test {
if (str.substring(0) == null) {
}
}
/**
* @param str
*/
void bar(@NotNull String str) {
if ((str).substring(0) == null) {
}
}
}
@@ -12,4 +12,12 @@ class Test {
if (str.substring(0) == null) {
}
}
/**
* @param str
*/
void bar(String str) {
if ((str).substring(0) == null) {
}
}
}