public interface GlobalInspectionContext extends UserDataHolder
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
<T> T |
getExtension(Key<T> key) |
Project |
getProject() |
RefManager |
getRefManager()
Returns the reference graph for the global inspection run.
|
StdJobDescriptors |
getStdJobDescriptors() |
void |
incrementJobDoneAmount(JobDescriptor job,
java.lang.String message) |
boolean |
isSuppressed(PsiElement element,
java.lang.String inspectionToolId)
Checks if the inspection with the specified ID is suppressed for the
specified PSI element.
|
boolean |
shouldCheck(RefEntity entity,
GlobalInspectionTool tool)
Checks if the inspection is suppressed for the specified reference graph node.
|
getUserData, putUserData
RefManager getRefManager()
boolean shouldCheck(RefEntity entity, GlobalInspectionTool tool)
GlobalInspectionTool.runInspection(com.intellij.analysis.AnalysisScope, com.intellij.codeInspection.InspectionManager, com.intellij.codeInspection.GlobalInspectionContext, com.intellij.codeInspection.ProblemDescriptionsProcessor)
entity
- the reference graph node to check.tool
- the inspection to check.boolean isSuppressed(PsiElement element, java.lang.String inspectionToolId)
element
- the PSI element to check.inspectionToolId
- the ID of the inspection to check.Project getProject()
<T> T getExtension(Key<T> key)
void incrementJobDoneAmount(JobDescriptor job, java.lang.String message)
StdJobDescriptors getStdJobDescriptors()
void cleanup()