@Override
  protected String buildErrorString(Object... args) {
    final GrIfStatement statement = (GrIfStatement) args[0];
    final int branches = calculateNumBranches(statement);
    return GroovyBundle.message("inspection.message.ref.statement.with.too.many.branches", branches);
  }
@Override
  protected String buildErrorString(Object... args)