public class RedundantTypeArgsInspection extends GenericsInspectionToolBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SHORT_NAME |
EMPTY_ARRAY, VALID_ID_PATTERNmyNameProvider| Constructor and Description |
|---|
RedundantTypeArgsInspection() |
| Modifier and Type | Method and Description |
|---|---|
ProblemDescriptor[] |
checkMethod(PsiMethod psiMethod,
InspectionManager manager,
boolean isOnTheFly)
Override this to report problems at method level.
|
ProblemDescriptor[] |
getDescriptions(PsiElement place,
InspectionManager inspectionManager,
boolean isOnTheFly) |
java.lang.String |
getGroupDisplayName() |
java.lang.String |
getShortName()
DO NOT OVERRIDE this method.
|
buildVisitor, checkClass, checkField, isEnabledByDefaultbuildVisitor, checkFile, 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, writeSettingspublic static final java.lang.String SHORT_NAME
public java.lang.String getGroupDisplayName()
getGroupDisplayName in class InspectionProfileEntryInspectionEP.groupDisplayName,
InspectionEP.groupKey,
InspectionEP.groupBundlepublic java.lang.String getShortName()
InspectionProfileEntrygetShortName in class InspectionProfileEntryInspectionEP.shortNamepublic ProblemDescriptor[] checkMethod(PsiMethod psiMethod, InspectionManager manager, boolean isOnTheFly)
AbstractBaseJavaLocalInspectionToolcheckMethod in class GenericsInspectionToolBasepsiMethod - 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.public ProblemDescriptor[] getDescriptions(PsiElement place, InspectionManager inspectionManager, boolean isOnTheFly)
getDescriptions in class GenericsInspectionToolBase