public int generateType(StringBuilder buffer, PsiType type, PsiElement context) {
    return generateType(buffer, type, context, true);
  }
public int generateType(StringBuilder buffer, PsiType type, PsiElement context)