void () { Runnable runnable = new <warning descr="Overly complex anonymous class (cyclomatic complexity = 4)">Runnable</warning>() { public void run() { if(bar) { }else if(baz) { }else if(bazoom) { } foo(); } }; }