public class DefaultFileTemplateUsageInspection extends AbstractBaseJavaLocalInspectionTool
| Modifier and Type | Field and Description |
|---|---|
boolean |
CHECK_FILE_HEADER
Deprecated.
unused, left for compatibility
|
boolean |
CHECK_METHOD_BODY
Deprecated.
unused, left for compatibility
|
boolean |
CHECK_TRY_CATCH_SECTION
Deprecated.
unused, left for compatibility
|
EMPTY_ARRAY, VALID_ID_PATTERNmyNameProvider| Constructor and Description |
|---|
DefaultFileTemplateUsageInspection() |
| Modifier and Type | Method and Description |
|---|---|
ProblemDescriptor [] |
checkFile(PsiFile file,
InspectionManager manager,
boolean isOnTheFly)
Override this to report problems at file level.
|
static LocalQuickFix |
createEditFileTemplateFix(FileTemplate templateToEdit,
ReplaceWithFileTemplateFix replaceTemplateFix) |
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, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettings@Deprecated public boolean CHECK_FILE_HEADER
@Deprecated public boolean CHECK_TRY_CATCH_SECTION
@Deprecated public boolean CHECK_METHOD_BODY
public 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.public boolean isEnabledByDefault()
InspectionProfileEntryisEnabledByDefault in class InspectionProfileEntryInspectionEP.enabledByDefaultpublic static LocalQuickFix createEditFileTemplateFix(FileTemplate templateToEdit, ReplaceWithFileTemplateFix replaceTemplateFix)