Emacs has the notion of position registers. You can store the location of your cursor (buffer + location) in a register. And when you're somewhere else in your project you can relatively easy jump to this stored position.
Is there something similar for IntelliJ?
Yes, there is something similar for IntelliJ, and for many other modern IDEs and editors. it is called bookmarks.