public static void appendTypeString(StringBuilder buffer, final PsiType type, PsiElement context) {
    if (type != null) {
      JavaDocInfoGeneratorFactory.create(context.getProject(), null).generateType(buffer, type, context);
    }
    else {
      buffer.append(GrModifier.DEF);
    }
  }
public static void appendTypeString(StringBuilder buffer, final PsiType type, PsiElement context)