Search in sources :

Example 1 with LocalInspectionEP

use of com.intellij.codeInspection.LocalInspectionEP in project intellij-community by JetBrains.

the class InspectionProfileTest method createTool.

private static LocalInspectionToolWrapper createTool(String s, boolean enabled) {
    LocalInspectionEP foo = new LocalInspectionEP();
    foo.shortName = s;
    foo.displayName = s;
    foo.groupDisplayName = s;
    foo.level = "ERROR";
    foo.enabledByDefault = enabled;
    foo.implementationClass = TestTool.class.getName();
    return new LocalInspectionToolWrapper(foo);
}
Also used : LocalInspectionEP(com.intellij.codeInspection.LocalInspectionEP)

Aggregations

LocalInspectionEP (com.intellij.codeInspection.LocalInspectionEP)1