It's reads better to put closures as the last parameter, so that you don't have extra arguments after the anonymous class. You can fix this quickly using Refactor -> Change Signature to swap the argument order.