public class SameReturnValueInspection extends GlobalJavaBatchInspectionTool
myNameProvider
Constructor and Description |
---|
SameReturnValueInspection() |
Modifier and Type | Method and Description |
---|---|
CommonProblemDescriptor [] |
checkElement(RefEntity refEntity,
AnalysisScope scope,
InspectionManager manager,
GlobalInspectionContext globalContext,
ProblemDescriptionsProcessor processor)
Processes and reports problems for a single element of the completed reference graph.
|
java.lang.String |
getGroupDisplayName() |
java.lang.String |
getShortName()
DO NOT OVERRIDE this method.
|
protected boolean |
queryExternalUsagesRequests(RefManager manager,
GlobalJavaInspectionContext globalContext,
ProblemDescriptionsProcessor processor) |
isReadActionNeeded, queryExternalUsagesRequests
checkElement, compose, getAdditionalJobs, getAdditionalJobs, getAnnotator, getHint, getQuickFix, getSharedLocalInspectionTool, getSuppressId, isEnabledByDefault, isGraphNeeded, runInspection, worksInBatchModeOnly
cleanup, createOptionsPanel, getAlternativeID, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettings
public CommonProblemDescriptor [] checkElement(RefEntity refEntity, AnalysisScope scope, InspectionManager manager, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor processor)
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.processor
- the collector for problems reported by the inspectionprotected boolean queryExternalUsagesRequests(RefManager manager, GlobalJavaInspectionContext globalContext, ProblemDescriptionsProcessor processor)
queryExternalUsagesRequests
in class GlobalJavaBatchInspectionTool
public java.lang.String getGroupDisplayName()
getGroupDisplayName
in class InspectionProfileEntry
InspectionEP.groupDisplayName
,
InspectionEP.groupKey
,
InspectionEP.groupBundle
public java.lang.String getShortName()
InspectionProfileEntry
getShortName
in class InspectionProfileEntry
InspectionEP.shortName