public class InconsistentLanguageLevelInspection extends GlobalInspectionTool
myNameProvider| Constructor and Description |
|---|
InconsistentLanguageLevelInspection() |
| 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.
|
boolean |
isEnabledByDefault()
DO NOT OVERRIDE this method.
|
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
|
checkElement, compose, getAdditionalJobs, getAdditionalJobs, getAnnotator, getHint, getQuickFix, getSharedLocalInspectionTool, getSuppressId, queryExternalUsagesRequests, runInspection, worksInBatchModeOnlycleanup, createOptionsPanel, getAlternativeID, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettingspublic boolean isGraphNeeded()
GlobalInspectionToolisGraphNeeded in class GlobalInspectionToolpublic boolean isReadActionNeeded()
GlobalInspectionToolisReadActionNeeded in class GlobalInspectionToolGlobalInspectionTool.runInspection(AnalysisScope, InspectionManager, GlobalInspectionContext, ProblemDescriptionsProcessor)) in ReadAction,
false if ReadAction is taken by inspection itselfpublic CommonProblemDescriptor [] checkElement(RefEntity refEntity, AnalysisScope scope, InspectionManager manager, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor processor)
GlobalInspectionToolcheckElement in class GlobalInspectionToolrefEntity - 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 inspectionpublic boolean isEnabledByDefault()
InspectionProfileEntryisEnabledByDefault in class GlobalInspectionToolInspectionEP.enabledByDefaultpublic java.lang.String getGroupDisplayName()
getGroupDisplayName in class InspectionProfileEntryInspectionEP.groupDisplayName,
InspectionEP.groupKey,
InspectionEP.groupBundlepublic java.lang.String getShortName()
InspectionProfileEntrygetShortName in class InspectionProfileEntryInspectionEP.shortName