void () { doTest("java.lang.IllegalArgumentException", "Find why 'obj' could be null or not instanceof java.lang.String", "class X {static void test(Object obj) {if (!(obj instanceof String)) throw new IllegalArgumentException();}}"); }