public class RedundantThrowsDeclarationLocalInspection extends AbstractBaseJavaLocalInspectionTool
EMPTY_ARRAY, VALID_ID_PATTERN
myNameProvider
Constructor and Description |
---|
RedundantThrowsDeclarationLocalInspection() |
RedundantThrowsDeclarationLocalInspection(RedundantThrowsDeclarationInspection tool) |
Modifier and Type | Method and Description |
---|---|
ProblemDescriptor [] |
checkMethod(PsiMethod method,
InspectionManager manager,
boolean isOnTheFly)
Override this to report problems at method level.
|
java.lang.String |
getGroupDisplayName() |
java.lang.String |
getShortName()
DO NOT OVERRIDE this method.
|
buildVisitor, checkClass, checkField
buildVisitor, checkFile, getAlternativeID, getID, getProblemElement, getSuppressId, inspectionFinished, inspectionFinished, inspectionStarted, isValidID, processFile, runForWholeFile
cleanup, createOptionsPanel, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isEnabledByDefault, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettings
public RedundantThrowsDeclarationLocalInspection()
public RedundantThrowsDeclarationLocalInspection(RedundantThrowsDeclarationInspection tool)
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 [] checkMethod(PsiMethod method, InspectionManager manager, boolean isOnTheFly)
AbstractBaseJavaLocalInspectionTool
checkMethod
in class AbstractBaseJavaLocalInspectionTool
method
- to check.manager
- InspectionManager to ask for ProblemDescriptors 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 method level.