public interface QuickFix<D extends CommonProblemDescriptor> extends WriteActionAware
CommonProblemDescriptor.getFixes()| Modifier and Type | Field and Description |
|---|---|
static QuickFix[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
void |
applyFix(Project project,
D descriptor)
Called to apply the fix.
|
java.lang.String |
getFamilyName() |
default java.lang.String |
getName() |
startInWriteActionstatic final QuickFix[] EMPTY_ARRAY
default java.lang.String getName()
java.lang.String getFamilyName()
getName().void applyFix(Project project, D descriptor)
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 action