public static class XmlSuppressableInspectionTool.SuppressTagStatic extends XmlSuppressableInspectionTool.XmlSuppressFix
myId, myProvider
EMPTY_ARRAY
Constructor and Description |
---|
SuppressTagStatic(java.lang.String id) |
SuppressTagStatic(java.lang.String inspectionId,
XmlSuppressionProvider suppressionProvider) |
Modifier and Type | Method and Description |
---|---|
void |
applyFix(Project project,
ProblemDescriptor descriptor)
Called to apply the fix.
|
PsiElement |
getContainer(PsiElement context) |
java.lang.String |
getName() |
getFamilyName, isAvailable, isShouldBeAppliedToInjectionHost, isSuppressAll, setShouldBeAppliedToInjectionHost
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
startInWriteAction
public SuppressTagStatic(java.lang.String inspectionId, XmlSuppressionProvider suppressionProvider)
public SuppressTagStatic(java.lang.String id)
public java.lang.String getName()
public void applyFix(Project project, ProblemDescriptor descriptor)
QuickFix
Please call com.intellij.profile.codeInspection.ProjectInspectionProfileManager#fireProfileChanged()
if inspection profile is changed as result of fix.
project
- Project
descriptor
- problem reported by the tool which provided this quick fix actionpublic PsiElement getContainer(PsiElement context)
getContainer
in interface ContainerBasedSuppressQuickFix
getContainer
in class XmlSuppressableInspectionTool.XmlSuppressFix