public class DependencyInspection extends AbstractBaseJavaLocalInspectionTool
EMPTY_ARRAY, VALID_ID_PATTERNmyNameProvider| Constructor and Description |
|---|
DependencyInspection() |
| Modifier and Type | Method and Description |
|---|---|
ProblemDescriptor [] |
checkFile(PsiFile file,
InspectionManager manager,
boolean isOnTheFly)
Override this to report problems at file level.
|
javax.swing.JComponent |
createOptionsPanel()
This method is called each time UI is shown.
|
HighlightDisplayLevel |
getDefaultLevel()
DO NOT OVERRIDE this method.
|
java.lang.String |
getGroupDisplayName() |
java.lang.String |
getShortName()
DO NOT OVERRIDE this method.
|
boolean |
isEnabledByDefault()
DO NOT OVERRIDE this method.
|
buildVisitor, checkClass, checkField, checkMethodbuildVisitor, getAlternativeID, getID, getProblemElement, getSuppressId, inspectionFinished, inspectionFinished, inspectionStarted, isValidID, processFile, runForWholeFilecleanup, getBatchSuppressActions, getBlackList, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettingspublic javax.swing.JComponent createOptionsPanel()
InspectionProfileEntrycreateOptionsPanel in class InspectionProfileEntrynull if no UI options required.public boolean isEnabledByDefault()
InspectionProfileEntryisEnabledByDefault in class InspectionProfileEntryInspectionEP.enabledByDefaultpublic HighlightDisplayLevel getDefaultLevel()
InspectionProfileEntrygetDefaultLevel in class InspectionProfileEntryInspectionEP.levelpublic java.lang.String getGroupDisplayName()
getGroupDisplayName in class InspectionProfileEntryInspectionEP.groupDisplayName,
InspectionEP.groupKey,
InspectionEP.groupBundlepublic java.lang.String getShortName()
InspectionProfileEntrygetShortName in class InspectionProfileEntryInspectionEP.shortNamepublic ProblemDescriptor [] checkFile(PsiFile file, InspectionManager manager, boolean isOnTheFly)
LocalInspectionToolcheckFile in class LocalInspectionToolfile - to check.manager - InspectionManager to ask for ProblemDescriptor's from.isOnTheFly - true if called during on the fly editor highlighting. Called from Inspect Code action otherwise.null if no problems found or not applicable at file level.