void (@NotNull Project project, @NotNull PsiElement castTypeElement, @NotNull ModPsiUpdater updater) { if (castTypeElement.getParent() instanceof PsiTypeCastExpression cast) { RemoveRedundantCastUtil.removeCast(cast); } }