Examples of DeadCodeInspection


Examples of com.intellij.codeInspection.deadCode.DeadCodeInspection

    InspectionManagerEx inspectionManager = (InspectionManagerEx) InspectionManager.getInstance(myProject);
    final GlobalInspectionContextImpl globalContext = inspectionManager.createNewGlobalContext(true);
    globalContext.setCurrentScope(scope);

    if (runDeadCodeFirst) {
      runTool(new DeadCodeInspection(), scope, globalContext, inspectionManager);
    }
    runTool(tool, scope, globalContext, inspectionManager);
  }
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.