I decided to just define a boolean tootipsOnly in ScalaCompletionProposal, since the notion of whether to rewrite the editor contents or whether to just show the tooltip is more of a UI type decision. This gets rid of the repeated tests though.