Proper recipe class lookup mechanism for plugged in recipes

This commit is contained in:
aboyko
2022-10-14 13:01:37 -04:00
parent 7b34fcbe32
commit 2db435f47e
5 changed files with 29 additions and 15 deletions

View File

@@ -23,6 +23,11 @@ public class HelloMethodRenameRecipe extends Recipe {
public String getDisplayName() {
return "Rename hello method into bye";
}
@Override
public String getDescription() {
return "Renames methods with name 'hello' into same signature methods named 'bye'";
}
@Override
protected TreeVisitor<?, ExecutionContext> getVisitor() {