code: public static Matcher constructor(final String name) {
      return new Matcher() {
        @Override public boolean matches(Node node, NodeMetadata metadata) {
          JSDocInfo info = node.getJSDocInfo();
          if (info != null && info.isConstructor()) {
            Node firstChild = node.getFirstChild();
            // TODO(mknichel): Make sure this works with the following cases:
            // ns = {
            //   /** @constructor */
            //   name: function() {}
            // }
            if (name == null) {
              return true;
            }
            if ((firstChild.isGetProp() || firstChild.isName())
                && firstChild.matchesQualifiedName(name)) {
              return true;
            }
          }
          return false;
        }
      };
    }
docs: Returns a matcher that matches constructor definitions of the specified
  name.
  @param name The name of the class constructor to match.