code: private Node parseTypeNameAnnotation(JsDocToken token) {
      if (token == JsDocToken.LEFT_CURLY) {
        skipEOLs();
        Node typeNode = parseTypeName(next());
        if (typeNode != null) {
          skipEOLs();
          if (!match(JsDocToken.RIGHT_CURLY)) {
            reportTypeSyntaxWarning("msg.jsdoc.missing.rc");
          } else {
            next();
          }
        }
  
        return typeNode;
      } else {
        return parseTypeName(token);
      }
    }
docs: TypeNameAnnotation := TypeName | '{' TypeName '}'