void (final boolean checkWarnings) { IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_8, getModule(), getTestRootDisposable()); doTest(BASE_PATH + getTestName(false) + ".java", checkWarnings, false); }