public class SuppressManagerImpl extends SuppressManager implements RedundantSuppressionDetector
BatchSuppressManager.SERVICESUPPRESS_INSPECTIONS_ANNOTATION_NAME| Constructor and Description |
|---|
SuppressManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alreadyHas14Suppressions(PsiDocCommentOwner commentOwner) |
boolean |
canHave15Suppressions(PsiElement file) |
LocalQuickFix |
createRemoveRedundantSuppressionFix(java.lang.String toolId) |
SuppressIntentionAction [] |
createSuppressActions(HighlightDisplayKey displayKey) |
PsiElement |
getElementToolSuppressedIn(PsiElement place,
java.lang.String toolId) |
SuppressQuickFix [] |
getSuppressActions(PsiElement element,
java.lang.String toolId) |
java.lang.String |
getSuppressedInspectionIdsIn(PsiElement element) |
java.lang.String |
getSuppressionIds(PsiElement element) |
boolean |
isSuppressedFor(PsiElement element,
java.lang.String toolId) |
boolean |
isSuppressionFor(PsiElement elementWithSuppression,
PsiElement place,
java.lang.String toolId) |
createBatchSuppressActions, getInstance, isSuppressedInspectionNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHighlightingRangepublic SuppressIntentionAction [] createSuppressActions(HighlightDisplayKey displayKey)
createSuppressActions in class SuppressManagerpublic SuppressQuickFix [] getSuppressActions(PsiElement element, java.lang.String toolId)
getSuppressActions in interface InspectionSuppressorBatchSuppressableTool.getBatchSuppressActions(PsiElement)public boolean isSuppressedFor(PsiElement element, java.lang.String toolId)
isSuppressedFor in interface BatchSuppressManagerisSuppressedFor in interface InspectionSuppressorCustomSuppressableInspectionTool.isSuppressedFor(PsiElement)public java.lang.String getSuppressedInspectionIdsIn(PsiElement element)
getSuppressedInspectionIdsIn in interface BatchSuppressManagerpublic PsiElement getElementToolSuppressedIn(PsiElement place, java.lang.String toolId)
getElementToolSuppressedIn in interface BatchSuppressManagerpublic boolean canHave15Suppressions(PsiElement file)
canHave15Suppressions in interface BatchSuppressManagerpublic boolean alreadyHas14Suppressions(PsiDocCommentOwner commentOwner)
alreadyHas14Suppressions in interface BatchSuppressManagerpublic java.lang.String getSuppressionIds(PsiElement element)
getSuppressionIds in interface RedundantSuppressionDetectorelementpublic boolean isSuppressionFor(PsiElement elementWithSuppression, PsiElement place, java.lang.String toolId)
isSuppressionFor in interface RedundantSuppressionDetectorelementWithSuppression - e.g. comment or @SuppressWarning annotationplace - element with currently suppressed warningplace is suppressed by elementWithSuppressionpublic LocalQuickFix createRemoveRedundantSuppressionFix(java.lang.String toolId)
createRemoveRedundantSuppressionFix in interface RedundantSuppressionDetectortoolId suppression from list of suppressions