code: public static void setAccessible(AccessibleObject... objs) {
      AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
        AccessibleObject.setAccessible(objs, true);
        return null;
      });
    }
docs: Sets the accessible flag of the given objects to <code>true</code> using a {@link
  PrivilegedAction}.
  
  @param objs the objects for making accessible.