use of com.intellij.codeInspection.compiler.JavacQuirksInspection in project intellij-community by JetBrains.
the class LightAdvHighlightingJdk6Test method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
enableInspectionTools(new UnusedDeclarationInspection(), new UncheckedWarningLocalInspection(), new JavacQuirksInspection(), new RedundantCastInspection());
setLanguageLevel(LanguageLevel.JDK_1_6);
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_6, getModule(), getTestRootDisposable());
}
use of com.intellij.codeInspection.compiler.JavacQuirksInspection in project intellij-community by JetBrains.
the class LightAdvHighlightingJdk7Test method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
enableInspectionTools(new UnusedDeclarationInspection(), new UncheckedWarningLocalInspection(), new JavacQuirksInspection(), new RedundantCastInspection());
setLanguageLevel(LanguageLevel.JDK_1_7);
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_7, getModule(), getTestRootDisposable());
}
use of com.intellij.codeInspection.compiler.JavacQuirksInspection in project intellij-community by JetBrains.
the class LightAdvHighlightingJdk8Test method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
enableInspectionTools(new JavacQuirksInspection());
setLanguageLevel(LanguageLevel.JDK_1_8);
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_8, getModule(), getTestRootDisposable());
}
Aggregations