public void safelyDisableAccess ( AccessibleObject accessibleObject ) { assert wasAccessible != null : "accessibility info shall not be null" ; try { accessibleObject . setAccessible ( wasAccessible ) ; } catch ( Throwable t ) { //ignore } }
safely disables access