public class BatchSuppressManagerImpl extends java.lang.Object implements BatchSuppressManager
BatchSuppressManager.SERVICE
SUPPRESS_INSPECTIONS_ANNOTATION_NAME
Constructor and Description |
---|
BatchSuppressManagerImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
alreadyHas14Suppressions(PsiDocCommentOwner commentOwner) |
boolean |
canHave15Suppressions(PsiElement file) |
SuppressQuickFix [] |
createBatchSuppressActions(HighlightDisplayKey displayKey) |
PsiElement |
getElementToolSuppressedIn(PsiElement place,
java.lang.String toolId) |
java.lang.String |
getSuppressedInspectionIdsIn(PsiElement element) |
boolean |
isSuppressedFor(PsiElement element,
java.lang.String toolId) |
public SuppressQuickFix [] createBatchSuppressActions(HighlightDisplayKey displayKey)
createBatchSuppressActions
in interface BatchSuppressManager
public boolean isSuppressedFor(PsiElement element, java.lang.String toolId)
isSuppressedFor
in interface BatchSuppressManager
public java.lang.String getSuppressedInspectionIdsIn(PsiElement element)
getSuppressedInspectionIdsIn
in interface BatchSuppressManager
public PsiElement getElementToolSuppressedIn(PsiElement place, java.lang.String toolId)
getElementToolSuppressedIn
in interface BatchSuppressManager
public boolean canHave15Suppressions(PsiElement file)
canHave15Suppressions
in interface BatchSuppressManager
public boolean alreadyHas14Suppressions(PsiDocCommentOwner commentOwner)
alreadyHas14Suppressions
in interface BatchSuppressManager