void (final PsiExpression expr) { if (expr instanceof PsiNewExpression newExpression && newExpression.getArrayInitializer() != null && expr.getParent() instanceof PsiExpressionList exprList && exprList.getParent() instanceof PsiCall parentCall) { PsiExpression[] initializers = getArrayInitializersToFlattenInVarargs(parentCall); if (initializers != null && isSafeToFlattenToVarargsCall(parentCall, initializers)) { inlineArrayCreationForVarargs(newExpression); } } }