use of com.intellij.codeInspection.ex.GlobalInspectionToolWrapper in project android by JetBrains.
the class AndroidInspectionsTest method getUnusedDeclarationWrapper.
private static GlobalInspectionToolWrapper getUnusedDeclarationWrapper() {
final InspectionEP ep = new InspectionEP();
ep.presentation = UnusedDeclarationPresentation.class.getName();
ep.implementationClass = UnusedDeclarationInspection.class.getName();
ep.shortName = UnusedDeclarationInspectionBase.SHORT_NAME;
UnusedDeclarationInspection tool = new UnusedDeclarationInspection(true);
return new GlobalInspectionToolWrapper(tool, ep);
}
Aggregations