In most of my Intellij projects, when I type StringBuilder
it remains just like that an I'm able to use the Class as normal. However, in certain projects when I type, it auto-completes to java.lang.StringBuilder
which you can see on line 7. I'm assuming it's to do with my package structure or another quirk of Intellij that I haven't figured out yet.
It's not preventing me from working but it is making little sense to me when it doesn't behave this way in other projects.
Any advice welcome!