Technically, any** document describing the method, published before the patent is filed, will do that. An "anti patent" will offer nothing over that if the examiners fail to find it in their prior art search.There's one way these kinds of frivolous patents can be stopped IMO, what I'd love to see is an anti-patent.....
(**except, IIRC, for the US where the inventors have one year's grace to turn that document into a patent )