IntelliJ provides a quick-preview feature called Viewing Definition. Using this feature allows a user to quickly see the contents of a method/class without navigating into the class itself
Example: Looking into Arrays.copyOfRange()
:
Verifying if you've selected the right class in Search
:
Or a quick look at some project files: