public class Java9RedundantRequiresStatementInspection extends GlobalJavaBatchInspectionTool
myNameProvider
Constructor and Description |
---|
Java9RedundantRequiresStatementInspection() |
Modifier and Type | Method and Description |
---|---|
CommonProblemDescriptor [] |
checkElement(RefEntity refEntity,
AnalysisScope scope,
InspectionManager manager,
GlobalInspectionContext globalContext)
Processes and reports problems for a single element of the completed reference graph.
|
RefGraphAnnotator |
getAnnotator(RefManager refManager)
Returns the annotator which will receive callbacks while the reference graph
is being built.
|
isReadActionNeeded, queryExternalUsagesRequests, queryExternalUsagesRequests
checkElement, compose, getAdditionalJobs, getAdditionalJobs, getHint, getQuickFix, getSharedLocalInspectionTool, getSuppressId, isEnabledByDefault, isGraphNeeded, runInspection, worksInBatchModeOnly
cleanup, createOptionsPanel, getAlternativeID, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupDisplayName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettings
public Java9RedundantRequiresStatementInspection()
public CommonProblemDescriptor [] checkElement(RefEntity refEntity, AnalysisScope scope, InspectionManager manager, GlobalInspectionContext globalContext)
GlobalInspectionTool
checkElement
in class GlobalInspectionTool
refEntity
- the reference graph element to check for problems.scope
- the scope on which analysis was invoked.manager
- the inspection manager instance for the project on which the inspection was run.globalContext
- the context for the current global inspection run.public RefGraphAnnotator getAnnotator(RefManager refManager)
GlobalInspectionTool
UserDataHolder.putUserData(com.intellij.openapi.util.Key, Object)
.getAnnotator
in class GlobalInspectionTool
refManager
- the reference graph manager instanceGlobalInspectionTool.isGraphNeeded()