Actually, even better: use 

    new AbstractWordPlacer() { ...

Instead of 

    new WordPlacer()

And then you are set :)