use of com.intellij.codeInspection.emptyMethod.EmptyMethodInspection in project intellij-community by JetBrains.
the class RedundantSuppressTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
myInspectionToolWrappers = new InspectionToolWrapper[] { new LocalInspectionToolWrapper(new JavaDocReferenceInspection()), new LocalInspectionToolWrapper(new I18nInspection()), new LocalInspectionToolWrapper(new RawUseOfParameterizedTypeInspection()), new GlobalInspectionToolWrapper(new EmptyMethodInspection()), new GlobalInspectionToolWrapper(new UnusedDeclarationInspection()) };
myWrapper = new GlobalInspectionToolWrapper(new RedundantSuppressInspection() {
@NotNull
@Override
protected InspectionToolWrapper[] getInspectionTools(PsiElement psiElement, @NotNull InspectionManager manager) {
return myInspectionToolWrappers;
}
});
}
use of com.intellij.codeInspection.emptyMethod.EmptyMethodInspection in project intellij-community by JetBrains.
the class EmptyMethodTest method doTest.
private void doTest(final boolean checkRange) throws Exception {
final EmptyMethodInspection tool = new EmptyMethodInspection();
doTest("emptyMethod/" + getTestName(true), tool, checkRange);
}
Aggregations