private @Nullable String suggestNameFromTypeMap(@NotNull PsiType type, @NotNull VariableKind variableKind, @Nullable String longTypeName) {
    if (longTypeName != null) {
      if (type.equals(PsiTypes.nullType())) {
        longTypeName = CommonClassNames.JAVA_LANG_OBJECT;
      }
      String name = nameByType(longTypeName, variableKind);
      if (name != null && isIdentifier(name)) {
        return type instanceof PsiArrayType ? StringUtil.pluralize(name) : name;
      }
    }
    return null;
  }
private @Nullable String suggestNameFromTypeMap(@NotNull PsiType type, @NotNull VariableKind variableKind, @Nullable String longTypeName)