LocalQuickFix (@NotNull Project project, @NotNull MatchResult matchResult, @NotNull Configuration configuration) { if (!(configuration instanceof ReplaceConfiguration)) return null; return new StructuralQuickFix(project, matchResult, configuration.getReplaceOptions()); }