public class LocalInspectionToolWrapper extends InspectionToolWrapper<LocalInspectionTool,LocalInspectionEP>
EMPTY_ARRAY, myEP, myTool
Constructor and Description |
---|
LocalInspectionToolWrapper(LocalInspectionEP ep) |
LocalInspectionToolWrapper(LocalInspectionTool tool)
This should be used in tests primarily
|
Modifier and Type | Method and Description |
---|---|
LocalInspectionToolWrapper |
createCopy() |
static InspectionToolWrapper |
findTool2RunInBatch(Project project,
PsiElement element,
InspectionProfile inspectionProfile,
InspectionToolWrapper toolWrapper) |
static InspectionToolWrapper |
findTool2RunInBatch(Project project,
PsiElement element,
java.lang.String name) |
java.lang.String |
getAlternativeID() |
java.lang.String |
getID() |
JobDescriptor [] |
getJobDescriptors(GlobalInspectionContext context) |
boolean |
isDynamicGroup() |
boolean |
isUnfair() |
boolean |
runForWholeFile() |
applyToDialects, cleanup, getDefaultLevel, getDescriptionContextClass, getDisplayName, getExtension, getFolderName, getGroupDisplayName, getGroupPath, getLanguage, getMainToolId, getShortName, getStaticDescription, getTool, initialize, isApplicable, isCleanupTool, isEnabledByDefault, isInitialized, loadDescription, toString
public LocalInspectionToolWrapper(LocalInspectionTool tool)
public LocalInspectionToolWrapper(LocalInspectionEP ep)
public LocalInspectionToolWrapper createCopy()
createCopy
in class InspectionToolWrapper<LocalInspectionTool,LocalInspectionEP>
public JobDescriptor [] getJobDescriptors(GlobalInspectionContext context)
getJobDescriptors
in class InspectionToolWrapper<LocalInspectionTool,LocalInspectionEP>
public boolean isUnfair()
public boolean isDynamicGroup()
public java.lang.String getID()
getID
in class InspectionToolWrapper<LocalInspectionTool,LocalInspectionEP>
public java.lang.String getAlternativeID()
public boolean runForWholeFile()
public static InspectionToolWrapper findTool2RunInBatch(Project project, PsiElement element, java.lang.String name)
public static InspectionToolWrapper findTool2RunInBatch(Project project, PsiElement element, InspectionProfile inspectionProfile, InspectionToolWrapper toolWrapper)