public interface CustomSuppressableInspectionTool
LocalInspectionTool
and GlobalInspectionTool
that support suppressing inspections.Modifier and Type | Method and Description |
---|---|
SuppressIntentionAction [] |
getSuppressActions(PsiElement element)
Returns the list of suppression actions for the specified element.
|
boolean |
isSuppressedFor(PsiElement element)
Checks if the inspection is suppressed for the specified element.
|
SuppressIntentionAction [] getSuppressActions(PsiElement element)
element
- the element on which Alt-Enter is pressed, or null if getting the list of available suppression actions in
Inspections tool windowboolean isSuppressedFor(PsiElement element)
element
- the element to check