Here's a workaround for you that I didn't think of...
# intellij
a
Here's a workaround for you that I didn't think of when I actually needed it ­čśŤ open version control tool window, revert changes on the java file, select both files in the project view and hit ctrl+d to compare them