This method is used when calling `revealInEditor`, to highlight the exact location of a java element. For instance, when opening an inner class, it would open the editor, scroll down, and highlight the name of the inner class.

The previous code was assuming that the element is always a type, and it is a direct child of the classfile (meaning, it only worked for top-level classes). I tried to not change it too much, but make it work for as many cases as possible, and if something goes wrong, fall back on the previous logic.

This method is called with an instance of `ScalaBinaryType`, and because the editor was open (and has a source attached), we should find the java element in the source (one of the subclasses of `ScalaElement`).