Closed koppor closed 1 year ago
@koppor Thanks for the report!
The UseAsBuilder
recipe requires a builderType
option, which currently lacks documentation: https://github.com/openrewrite/rewrite/blob/7059e059b7d055b35741442f3530af2268fe2b5d/rewrite-java/src/main/java/org/openrewrite/java/cleanup/UseAsBuilder.java#L37-L38
Also, it would be good if the recipe would implement the validate()
method to validate this and other options.
@srmalkan Thanks for the contribution! 🙏 It would be great if could also complete the @Option
annotation for builderType
with some details.
@srmalkan Thanks for the contribution! 🙏 It would be great if could also complete the
@Option
annotation forbuilderType
with some details.
@knutwannheden I have added the details. Could you have a look at it?
Codebase: https://github.com/JabRef/jabref/