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, wait
getElementToMakeWritable
startInWriteAction
protected 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 SuppressQuickFix
public java.lang.String getFamilyName()
getFamilyName
in interface QuickFix<ProblemDescriptor>
QuickFix.getName()
.public PsiElement getContainer(PsiElement context)
getContainer
in interface ContainerBasedSuppressQuickFix
public ThreeState isShouldBeAppliedToInjectionHost()
isShouldBeAppliedToInjectionHost
in interface InjectionAwareSuppressQuickFix
public void setShouldBeAppliedToInjectionHost(ThreeState shouldBeAppliedToInjectionHost)
setShouldBeAppliedToInjectionHost
in interface InjectionAwareSuppressQuickFix
public boolean isSuppressAll()
isSuppressAll
in interface SuppressQuickFix