code: @Override
    public void makeAccessible(AccessibleObject ao) {
      boolean success = makeAccessibleWithUnsafe(ao);
      if (!success) {
        try {
          // unsafe couldn't be found, so try using accessible anyway
          ao.setAccessible(true);
        } catch (SecurityException e) {
          throw new JsonIOException("Gson couldn't modify fields for " + ao
            + "\nand sun.misc.Unsafe not found.\nEither write a custom type adapter,"
            + " or make fields accessible, or include sun.misc.Unsafe.", e);
        }
      }
    }
docs: {@inheritDoc}