public class SuppressByCommentFix extends AbstractBatchSuppressByNoInspectionCommentFix
Iconable.IconFlags, Iconable.LastComputedIcon
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<? extends PsiElement> |
mySuppressionHolderClass |
myID
EMPTY_ARRAY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
Constructor and Description |
---|
SuppressByCommentFix(HighlightDisplayKey key,
java.lang.Class<? extends PsiElement> suppressionHolderClass) |
SuppressByCommentFix(java.lang.String toolId,
java.lang.Class<? extends PsiElement> suppressionHolderClass) |
Modifier and Type | Method and Description |
---|---|
PsiElement |
getContainer(PsiElement context) |
java.lang.String |
getText() |
applyFix, createSuppression, getCommentLanguage, getCommentsFor, getFamilyName, getIcon, getName, invoke, isAvailable, isShouldBeAppliedToInjectionHost, isSuppressAll, replaceSuppressionComment, replaceSuppressionComments, setShouldBeAppliedToInjectionHost, setText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getElementToMakeWritable
startInWriteAction
protected java.lang.Class<? extends PsiElement> mySuppressionHolderClass
public SuppressByCommentFix(HighlightDisplayKey key, java.lang.Class<? extends PsiElement> suppressionHolderClass)
public SuppressByCommentFix(java.lang.String toolId, java.lang.Class<? extends PsiElement> suppressionHolderClass)
public java.lang.String getText()
getText
in class AbstractBatchSuppressByNoInspectionCommentFix
public PsiElement getContainer(PsiElement context)
getContainer
in interface ContainerBasedSuppressQuickFix
getContainer
in class AbstractBatchSuppressByNoInspectionCommentFix