public static class XmlUnusedNamespaceInspection.RemoveNamespaceDeclarationFix extends java.lang.Object implements LocalQuickFix
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
myPrefix |
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
applyFix(Project project,
ProblemDescriptor descriptor)
Called to apply the fix.
|
SmartPsiElementPointer<XmlTag> |
doFix(Project project,
ProblemDescriptor descriptor,
boolean reformat) |
protected void |
doRemove(Project project,
XmlAttribute attribute,
XmlTag parent) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFamilyName() |
java.lang.String |
getName() |
int |
hashCode() |
static void |
reformatStartTag(Project project,
SmartPsiElementPointer<? extends XmlTag> pointer) |
static void |
removeReferenceText(PsiReference ref) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
startInWriteAction
public java.lang.String getName()
getName
in interface QuickFix<ProblemDescriptor>
public java.lang.String getFamilyName()
getFamilyName
in interface QuickFix<ProblemDescriptor>
QuickFix.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.
applyFix
in interface QuickFix<ProblemDescriptor>
project
- Project
descriptor
- problem reported by the tool which provided this quick fix actionpublic SmartPsiElementPointer<XmlTag> doFix(Project project, ProblemDescriptor descriptor, boolean reformat)
public static void reformatStartTag(Project project, SmartPsiElementPointer<? extends XmlTag> pointer)
protected void doRemove(Project project, XmlAttribute attribute, XmlTag parent)
public static void removeReferenceText(PsiReference ref)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object