Examples of UnusedDeclarationInspectionBase


Examples of com.intellij.codeInspection.deadCode.UnusedDeclarationInspectionBase

* User: Andrey.Vokin
* Date: 10/20/12
*/
public class UnusedJavaMethodInspectionTest extends CucumberJavaBaseInspectionTest {
  protected void doTest(final String file) {
    myFixture.enableInspections(new UnusedDeclarationInspectionBase(true));
    myFixture.configureByFile(file);
    myFixture.testHighlighting(true, false, true);
  }
View Full Code Here

Examples of com.intellij.codeInspection.deadCode.UnusedDeclarationInspectionBase

    return getTestName(false).contains("Convention") ? CONVENTION : super.getProjectDescriptor();
  }

  @Override
  protected InspectionProfileEntry[] getHighlightingInspections() {
    return new InspectionProfileEntry[]{new UnusedDeclarationInspectionBase(true)};
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.