public interface RedundantSuppressionDetector
Modifier and Type | Method and Description |
---|---|
LocalQuickFix |
createRemoveRedundantSuppressionFix(java.lang.String toolId) |
default TextRange |
getHighlightingRange(PsiElement elementWithSuppression,
java.lang.String toolId) |
java.lang.String |
getSuppressionIds(PsiElement element) |
boolean |
isSuppressionFor(PsiElement elementWithSuppression,
PsiElement place,
java.lang.String toolId) |
java.lang.String getSuppressionIds(PsiElement element)
element
LocalQuickFix createRemoveRedundantSuppressionFix(java.lang.String toolId)
toolId
suppression from list of suppressionsboolean isSuppressionFor(PsiElement elementWithSuppression, PsiElement place, java.lang.String toolId)
elementWithSuppression
- e.g. comment or @SuppressWarning annotationplace
- element with currently suppressed warningplace
is suppressed by elementWithSuppression
default TextRange getHighlightingRange(PsiElement elementWithSuppression, java.lang.String toolId)
toolId
to highlight in the editor