public abstract class GlobalSimpleInspectionTool extends GlobalInspectionTool
myNameProvider| Constructor and Description |
|---|
GlobalSimpleInspectionTool() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
checkFile(PsiFile file,
InspectionManager manager,
ProblemsHolder problemsHolder,
GlobalInspectionContext globalContext,
ProblemDescriptionsProcessor problemDescriptionsProcessor) |
void |
inspectionFinished(InspectionManager manager,
GlobalInspectionContext globalContext,
ProblemDescriptionsProcessor problemDescriptionsProcessor) |
void |
inspectionStarted(InspectionManager manager,
GlobalInspectionContext globalContext,
ProblemDescriptionsProcessor problemDescriptionsProcessor) |
boolean |
isGraphNeeded()
Checks if this inspection requires building of the reference graph.
|
boolean |
isReadActionNeeded()
True by default to ensure third party plugins are not broken
|
void |
runInspection(AnalysisScope scope,
InspectionManager manager,
GlobalInspectionContext globalContext,
ProblemDescriptionsProcessor problemDescriptionsProcessor)
Runs the global inspection.
|
checkElement, checkElement, compose, getAdditionalJobs, getAdditionalJobs, getAnnotator, getHint, getQuickFix, getSharedLocalInspectionTool, getSuppressId, isEnabledByDefault, queryExternalUsagesRequests, worksInBatchModeOnlycleanup, createOptionsPanel, getAlternativeID, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupDisplayName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettingspublic void inspectionStarted(InspectionManager manager, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor problemDescriptionsProcessor)
public void inspectionFinished(InspectionManager manager, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor problemDescriptionsProcessor)
public abstract void checkFile(PsiFile file, InspectionManager manager, ProblemsHolder problemsHolder, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor problemDescriptionsProcessor)
public final void runInspection(AnalysisScope scope, InspectionManager manager, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor problemDescriptionsProcessor)
GlobalInspectionToolGlobalInspectionTool.checkElement(RefEntity, AnalysisScope, InspectionManager, GlobalInspectionContext).runInspection in class GlobalInspectionToolscope - the scope on which the inspection was run.manager - the inspection manager instance for the project on which the inspection was run.globalContext - the context for the current global inspection run.problemDescriptionsProcessor - the collector for problems reported by the inspectionpublic boolean isReadActionNeeded()
GlobalInspectionToolisReadActionNeeded in class GlobalInspectionToolGlobalInspectionTool.runInspection(AnalysisScope, InspectionManager, GlobalInspectionContext, ProblemDescriptionsProcessor)) in ReadAction,
false if ReadAction is taken by inspection itselfpublic final boolean isGraphNeeded()
GlobalInspectionToolisGraphNeeded in class GlobalInspectionTool