code: public static Matcher newClass() {
      return new Matcher() {
        @Override public boolean matches(Node node, NodeMetadata metadata) {
          return node.isNew();
        }
      };
    }
docs: Returns a Matcher that matches constructing new objects. This will match
  the NEW node of the JS Compiler AST.