public static class UnnecessaryModuleDependencyInspection.RemoveModuleDependencyFix extends java.lang.Object implements QuickFix<ModuleProblemDescriptor>
EMPTY_ARRAY
Constructor and Description |
---|
RemoveModuleDependencyFix(java.lang.String dependency) |
Modifier and Type | Method and Description |
---|---|
void |
applyFix(Project project,
ModuleProblemDescriptor descriptor)
Called to apply the fix.
|
java.lang.String |
getFamilyName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startInWriteAction
public RemoveModuleDependencyFix(java.lang.String dependency)
public java.lang.String getFamilyName()
getFamilyName
in interface QuickFix<ModuleProblemDescriptor>
QuickFix.getName()
.public void applyFix(Project project, ModuleProblemDescriptor descriptor)
QuickFix
Please call com.intellij.profile.codeInspection.ProjectInspectionProfileManager#fireProfileChanged()
if inspection profile is changed as result of fix.
applyFix
in interface QuickFix<ModuleProblemDescriptor>
project
- Project
descriptor
- problem reported by the tool which provided this quick fix action