public static void writeType(@NotNull StringBuilder builder, @Nullable PsiType type, @NotNull PsiElement context) {
    writeType(builder, type, context, new GeneratorClassNameProvider());
  }
public static void writeType(@NotNull StringBuilder builder, @Nullable PsiType type, @NotNull PsiElement context)