Comment Comment by buerkle No I want to block both. I don't want to give devs the option of creating a function doSomething(String) that happens to accept MyType. If I need to call trim then I'll do StringUtils.trim(MyType.toString()); parent buerkle 1 year ago