void (@NotNull PsiElement element) { RemoveRedundantTypeArgumentsUtil.removeRedundantTypeArguments(element); RedundantCastUtil.getRedundantCastsInside(element).forEach(RemoveRedundantCastUtil::removeCast); TrivialFunctionalExpressionUsageInspection.simplifyAllLambdas(element); }