public static class XmlSuppressableInspectionTool.SuppressForFile extends XmlSuppressableInspectionTool.XmlSuppressFix
myId, myProviderEMPTY_ARRAY| Constructor and Description |
|---|
SuppressForFile(java.lang.String id) |
SuppressForFile(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, setShouldBeAppliedToInjectionHostclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementToMakeWritablestartInWriteActionpublic SuppressForFile(java.lang.String inspectionId,
XmlSuppressionProvider suppressionProvider)
public SuppressForFile(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 - Projectdescriptor - problem reported by the tool which provided this quick fix actionpublic PsiElement getContainer(PsiElement context)
getContainer in interface ContainerBasedSuppressQuickFixgetContainer in class XmlSuppressableInspectionTool.XmlSuppressFix