public class SuppressParameterFix extends AbstractBatchSuppressByNoInspectionCommentFix
Iconable.IconFlags, Iconable.LastComputedIconmyIDEMPTY_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Constructor and Description |
|---|
SuppressParameterFix(HighlightDisplayKey key) |
SuppressParameterFix(java.lang.String ID) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSuppression(Project project,
PsiElement element,
PsiElement cont) |
PsiElement |
getContainer(PsiElement context) |
java.lang.String |
getText() |
protected boolean |
replaceSuppressionComments(PsiElement container) |
boolean |
startInWriteAction()
Indicate whether this action should be invoked inside write action.
|
applyFix, getCommentLanguage, getCommentsFor, getFamilyName, getIcon, getName, invoke, isAvailable, isShouldBeAppliedToInjectionHost, isSuppressAll, replaceSuppressionComment, setShouldBeAppliedToInjectionHost, setText, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetElementToMakeWritablepublic SuppressParameterFix(HighlightDisplayKey key)
public SuppressParameterFix(java.lang.String ID)
public java.lang.String getText()
getText in class AbstractBatchSuppressByNoInspectionCommentFixpublic PsiElement getContainer(PsiElement context)
getContainer in interface ContainerBasedSuppressQuickFixgetContainer in class AbstractBatchSuppressByNoInspectionCommentFixpublic boolean startInWriteAction()
WriteActionAwarefalse if e.g. modal dialog is shown inside the action.
If false is returned the action itself is responsible for starting write action
when needed, by calling Application.runWriteAction(Runnable).true if the action requires a write action (default), false otherwise.protected boolean replaceSuppressionComments(PsiElement container)
replaceSuppressionComments in class AbstractBatchSuppressByNoInspectionCommentFixprotected void createSuppression(Project project, PsiElement element, PsiElement cont) throws IncorrectOperationException
createSuppression in class AbstractBatchSuppressByNoInspectionCommentFixIncorrectOperationException