mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
nullity: initial tests
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user