You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will cause java.util.HashMap to be marked as an unused import. Changing int to Object correctly marks all imports as used.
There are some other effects I'm noticing in my code--such as "cannot find symbol" hints on the class using Builder.Default--but I'm having trouble distilling them into reproduction steps. I'll update this issue if I can find better ways to repro the additional behaviors.
Unused import screenshot:
Expected behavior
Don't confuse Netbeans into thinking my imports are unused, especially because I use "Remove unused imports on save". 😆
Version info :
Lombok version 1.18.4
Platform Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS, Netbeans 10.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Using @Builder.Default on any primitive field will mark any imports used by any other field as unused.
To Reproduce
This will cause
java.util.HashMap
to be marked as anunused import
. Changingint
toObject
correctly marks all imports as used.There are some other effects I'm noticing in my code--such as "cannot find symbol" hints on the class using Builder.Default--but I'm having trouble distilling them into reproduction steps. I'll update this issue if I can find better ways to repro the additional behaviors.
Unused import screenshot:
Expected behavior
Don't confuse Netbeans into thinking my imports are unused, especially because I use "Remove unused imports on save". 😆
Version info :
The text was updated successfully, but these errors were encountered: