Eclipse 2024-03 Lombok. The issue can't be reproduced in eclipse 4.26 Eclipse offshoots are also compatible with lombok, specifically:

So try downgrading lombok to a previous version. Eclipse, spring tool suite, (red hat) jboss developer studio, myeclipse.
Eclipse 2024-03 Lombok Images References :