-
Notifications
You must be signed in to change notification settings - Fork 632
Importing @Builder generated builder classes does not work #48
Comments
👍 |
4 similar comments
👍 |
+1 |
+1 |
👍 |
+1 |
+1 |
1 similar comment
+1 |
I still have the problem. While googling I saw that this issue has been resolved. I am using lombok-plugin-0.8.8 and still the issue is not resolved and there is compile errors while making the project from intellij. There is an ugly hack though. |
+1 |
1 similar comment
👍 |
+1 |
+1, really drives crazy... |
+1 |
if you are usinng intelliJ, you can install the lombok plugins to let IntelliJ knows that the references are preCompiled |
brilliant! thank you so much |
For example, if I have:
This will generate an internal class named
TestBuilder
. If I then try to import it in another class likeimport Test.TestBuilder
it thinks the class doesn't exist.However, I can still import the class
Test
and assign the builder to a new variable likeTest.TestBuilder builder = Test.builder();
but I would like to just reference the builder class itself if possibleThe text was updated successfully, but these errors were encountered: