Any recommendations on how to use anonymous classes while staying consistent with Allman indent style? I don't really like anything I've come up with, e.g.
// Pass as parameter.
foo(new Clazz( )
{
// Do stuff.
});
// Assign to variable.
Clazz bar = new Clazz( )
{
// Do stuff.
};