void () { // No highlighting because str was closed and we have ignoreResourcesWithClose option set //noinspection EmptyTryBlock doTest("import java.io.*;" + "class X {" + " public static void m() throws IOException {" + " FileInputStream str;" + " str = new FileInputStream(\"bar\");" + " try {" + " } finally {" + " str.close();" + " }" + " }" + "}"); }