private static @Nullable String getSuggestedName(@NotNull PsiType type,
                                                       @NotNull PsiExpression initializer, @NotNull PsiElement anchor) {
        SuggestedNameInfo nameInfo = CommonJavaRefactoringUtil.getSuggestedName(type, initializer, anchor);
        String[] names = nameInfo.names;
        return names.length == 0 ? null : names[0];
      }
private static @Nullable String getSuggestedName(@NotNull PsiType type,
                                                       @NotNull PsiExpression initializer, @NotNull PsiElement anchor)