void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiExpression expression = myPointer.getElement(); if (expression == null) return; expression = updater.getWritable(expression); PsiConditionalExpression conditional = getParentConditional(expression); if (conditional == null) return; PsiExpression thenExpression = conditional.getThenExpression(); if (thenExpression != null) { AutoBoxingInspection.replaceWithBoxing(thenExpression); } PsiExpression elseExpression = conditional.getElseExpression(); if (elseExpression != null) { AutoBoxingInspection.replaceWithBoxing(elseExpression); } }