private static PsiNewExpression getNewExpressionLocal(@NotNull PsiArrayInitializerExpression initializer) {
    return ObjectUtils.tryCast(initializer.getParent(), PsiNewExpression.class);
  }
private static PsiNewExpression getNewExpressionLocal(@NotNull PsiArrayInitializerExpression initializer)