public class WrongPackageStatementInspection extends AbstractBaseJavaLocalInspectionTool
EMPTY_ARRAY, VALID_ID_PATTERNmyNameProvider| Constructor and Description |
|---|
WrongPackageStatementInspection() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMoveToPackageFix(PsiFile file,
java.lang.String packName,
java.util.List<? super LocalQuickFix> availableFixes) |
ProblemDescriptor [] |
checkFile(PsiFile file,
InspectionManager manager,
boolean isOnTheFly)
Override this to report problems at file level.
|
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, createOptionsPanel, getBatchSuppressActions, getBlackList, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettingsprotected void addMoveToPackageFix(PsiFile file, java.lang.String packName, java.util.List<? super LocalQuickFix> availableFixes)
public 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.public java.lang.String getGroupDisplayName()
getGroupDisplayName in class InspectionProfileEntryInspectionEP.groupDisplayName,
InspectionEP.groupKey,
InspectionEP.groupBundlepublic HighlightDisplayLevel getDefaultLevel()
InspectionProfileEntrygetDefaultLevel in class InspectionProfileEntryInspectionEP.levelpublic java.lang.String getShortName()
InspectionProfileEntrygetShortName in class InspectionProfileEntryInspectionEP.shortNamepublic boolean isEnabledByDefault()
InspectionProfileEntryisEnabledByDefault in class InspectionProfileEntryInspectionEP.enabledByDefault