Skip to content

Commit 7412e34

Browse files
committed
Document the StringRules wrapper class
1 parent 9c99820 commit 7412e34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/openrewrite/java/migrate/lang/StringRules.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
import com.google.errorprone.refaster.annotation.BeforeTemplate;
2121
import org.openrewrite.java.template.RecipeDescriptor;
2222

23+
@RecipeDescriptor(
24+
name = "A collection of `String` rules",
25+
description = "A collection of rules for refactoring methods called on `String` instances in Java code."
26+
)
2327
public class StringRules {
2428
@RecipeDescriptor(
2529
name = "Replace redundant `String` method calls with self",

0 commit comments

Comments
 (0)