Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mockito.internal.util.reflection
Class AccessibilityChanger

    java.lang.Object
      org.mockito.internal.util.reflection.AccessibilityChanger

    public class AccessibilityChanger

extends java.lang.Object

Constructor Summary
`AccessibilityChanger()`

Method Summary
`void` | `enableAccess(java.lang.reflect.AccessibleObject accessibleObject)` changes the accessibleObject accessibility and returns true if accessibility was changed
`void` | `safelyDisableAccess(java.lang.reflect.AccessibleObject accessibleObject)` safely disables access

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AccessibilityChanger

    public AccessibilityChanger()

Method Detail

### safelyDisableAccess

    public void safelyDisableAccess(java.lang.reflect.AccessibleObject accessibleObject)

  safely disables access

### enableAccess

    public void enableAccess(java.lang.reflect.AccessibleObject accessibleObject)

  changes the accessibleObject accessibility and returns true if accessibility was changed

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD