Skip to content

Instantly share code, notes, and snippets.

@mike-solomon
Created December 29, 2022 19:32
Embed
What would you like to do?
package org.myorg;
import org.openrewrite.java.search.FindDeprecatedMethods;
public class Example extends Recipe {
// ...
public Example() {
doNext(new FindDeprecatedMethods("*..* find(..)", true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment