LocalQuickFix (@NotNull PsiStatement statement, PsiExpression expression) { if (expression == null) { return LocalQuickFix.from(new DeleteElementFix(statement)); } return LocalQuickFix.from(new DeleteSideEffectsAwareFix(statement, expression)); }