public class DependencyInspection extends AbstractBaseJavaLocalInspectionTool
EMPTY_ARRAY, VALID_ID_PATTERN
myNameProvider
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, checkMethod
buildVisitor, getAlternativeID, getID, getProblemElement, getSuppressId, inspectionFinished, inspectionFinished, inspectionStarted, isValidID, processFile, runForWholeFile
cleanup, getBatchSuppressActions, getBlackList, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettings
public javax.swing.JComponent createOptionsPanel()
InspectionProfileEntry
createOptionsPanel
in class InspectionProfileEntry
null
if no UI options required.public boolean isEnabledByDefault()
InspectionProfileEntry
isEnabledByDefault
in class InspectionProfileEntry
InspectionEP.enabledByDefault
public HighlightDisplayLevel getDefaultLevel()
InspectionProfileEntry
getDefaultLevel
in class InspectionProfileEntry
InspectionEP.level
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
public ProblemDescriptor [] checkFile(PsiFile file, InspectionManager manager, boolean isOnTheFly)
LocalInspectionTool
checkFile
in class LocalInspectionTool
file
- 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.