public class SuppressByJavaCommentFix extends SuppressByCommentFix
Iconable.IconFlags, Iconable.LastComputedIconmySuppressionHolderClassmyIDEMPTY_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Constructor and Description | 
|---|
SuppressByJavaCommentFix(HighlightDisplayKey key)  | 
SuppressByJavaCommentFix(java.lang.String toolId)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
createSuppression(Project project,
                 PsiElement element,
                 PsiElement container)  | 
PsiElement | 
getContainer(PsiElement context)  | 
protected PsiElement | 
getElementToAnnotate(PsiElement element,
                    PsiElement container)  | 
protected boolean | 
replaceSuppressionComments(PsiElement container)  | 
boolean | 
startInWriteAction()
Indicate whether this action should be invoked inside write action. 
 | 
protected void | 
suppressWithComment(Project project,
                   PsiElement element,
                   PsiElement container)  | 
getTextapplyFix, getCommentLanguage, getCommentsFor, getFamilyName, getIcon, getName, invoke, isAvailable, isShouldBeAppliedToInjectionHost, isSuppressAll, replaceSuppressionComment, setShouldBeAppliedToInjectionHost, setText, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetElementToMakeWritablepublic SuppressByJavaCommentFix(HighlightDisplayKey key)
public SuppressByJavaCommentFix(java.lang.String toolId)
public PsiElement getContainer(PsiElement context)
getContainer in interface ContainerBasedSuppressQuickFixgetContainer in class SuppressByCommentFixpublic 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 void createSuppression(Project project, PsiElement element, PsiElement container) throws IncorrectOperationException
createSuppression in class AbstractBatchSuppressByNoInspectionCommentFixIncorrectOperationExceptionprotected boolean replaceSuppressionComments(PsiElement container)
replaceSuppressionComments in class AbstractBatchSuppressByNoInspectionCommentFixprotected PsiElement getElementToAnnotate(PsiElement element, PsiElement container)
protected void suppressWithComment(Project project, PsiElement element, PsiElement container)