Sometimes when I do refactoring like rename/delete/create class field/constructor parameter I get compilation errors that I don't call constructor with right parameters even that I/IDEA did update all call sites correctly. IDEA thinks that everything is OK (which it is) in editor, but when I run tests or compilation I get these compilation errors. Calling
from command line also works, and it does not fail with these errors. Does this happens to anyone else?
07/20/2022, 5:52 PM
better clean build before doing any renaming or deleting