Skip to content

Instantly share code, notes, and snippets.

@mike-solomon
Last active June 20, 2023 17:30
Show Gist options
  • Save mike-solomon/a57a7f685bf8213d98162d57406cf8ae to your computer and use it in GitHub Desktop.
Save mike-solomon/a57a7f685bf8213d98162d57406cf8ae to your computer and use it in GitHub Desktop.
package org.myorg;
import org.openrewrite.java.search.FindDeprecatedMethods;
public class Example extends Recipe {
// ...
public Example() {
doAfterVisit(new FindDeprecatedMethods("*..* find(..)", true).getVisitor());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment