code: public static final String replacePossiblePassword(boolean password, Object o)
    {
      if (password)
        return replaceNonNullObject(o);
      else if (o == null)
        return null;
      else
        return o.toString();
    }
docs: /* ------------------------------------------------------------------------