java scala interop trait with impl