Skip to content

Commit

Permalink
Add NlsRewrite hints to Refaster RecipeDescriptor fields (#4255)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Jun 14, 2024
1 parent 7b498e6 commit 628e0b4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import lombok.With;
import org.openrewrite.Contributor;
import org.openrewrite.Maintainer;
import org.openrewrite.NlsRewrite;
import org.openrewrite.internal.lang.Nullable;

import java.net.URI;
Expand All @@ -33,8 +34,10 @@ public class RecipeDescriptor {
@EqualsAndHashCode.Include
String name;

@NlsRewrite.DisplayName
String displayName;

@NlsRewrite.Description
String description;

Set<String> tags;
Expand Down

0 comments on commit 628e0b4

Please sign in to comment.