Skip to content

Commit

Permalink
#3156: Add JavaParser to JavaTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-poos-openvalue committed Jun 9, 2023
1 parent f23f730 commit 40df947
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public J.ClassDeclaration visitClassDeclaration(
return JavaTemplate
.builder("@UtilityClass")
.imports("lombok.experimental.UtilityClass")
.javaParser(JavaParser.fromJavaVersion().classpath("lombok"))
.build()
.apply(
getCursor(),
Expand Down

0 comments on commit 40df947

Please sign in to comment.