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

@param objs the objects for making accessible.