I think this makes the trait work correctly in scala, but doesn't effect...

... the java at all