code: static void ensureAccessible(AccessibleObject accessibleObject) {
          if (accessibleObject != null) {
              if (!accessibleObject.isAccessible()) {
                  if (System.getSecurityManager() != null) {
                      AccessController.doPrivileged(SetAccessibleAction.of(accessibleObject));
                  } else {
                      accessibleObject.setAccessible(true);
                  }
              }
          }
      }
docs: Set the {@code accessible} flag for this accessible object. Does not perform {@link PrivilegedAction} unless necessary.
  
  @param accessibleObject