public abstract static class XmlSuppressableInspectionTool.XmlSuppressFix extends java.lang.Object implements InjectionAwareSuppressQuickFix, ContainerBasedSuppressQuickFix
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
myId |
protected XmlSuppressionProvider |
myProvider |
EMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
XmlSuppressFix(java.lang.String id) |
protected |
XmlSuppressFix(java.lang.String inspectionId,
XmlSuppressionProvider suppressionProvider) |
| Modifier and Type | Method and Description |
|---|---|
PsiElement |
getContainer(PsiElement context) |
java.lang.String |
getFamilyName() |
boolean |
isAvailable(Project project,
PsiElement context) |
ThreeState |
isShouldBeAppliedToInjectionHost() |
boolean |
isSuppressAll() |
void |
setShouldBeAppliedToInjectionHost(ThreeState shouldBeAppliedToInjectionHost) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementToMakeWritablestartInWriteActionprotected final java.lang.String myId
protected final XmlSuppressionProvider myProvider
protected XmlSuppressFix(java.lang.String inspectionId,
XmlSuppressionProvider suppressionProvider)
protected XmlSuppressFix(java.lang.String id)
public boolean isAvailable(Project project, PsiElement context)
isAvailable in interface SuppressQuickFixpublic java.lang.String getFamilyName()
getFamilyName in interface QuickFix<ProblemDescriptor>QuickFix.getName().public PsiElement getContainer(PsiElement context)
getContainer in interface ContainerBasedSuppressQuickFixpublic ThreeState isShouldBeAppliedToInjectionHost()
isShouldBeAppliedToInjectionHost in interface InjectionAwareSuppressQuickFixpublic void setShouldBeAppliedToInjectionHost(ThreeState shouldBeAppliedToInjectionHost)
setShouldBeAppliedToInjectionHost in interface InjectionAwareSuppressQuickFixpublic boolean isSuppressAll()
isSuppressAll in interface SuppressQuickFix