Add inspection for check/require/checkNotNull/requireNotNull
#KT-30640 Fixed #KT-22412 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
64780293d3
commit
90b0ea73dc
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
void test(String s) {
|
||||
if (s == null) {
|
||||
throw new IllegalArgumentException("s should not be null");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user