Switching to a derived mode based on java-mode, as that's going to have the syntax table that I want. Will possibly dig into this deeper at a later date.