public final class Accessibles
extends java.lang.Object
AccessibleObjects.| Modifier and Type | Method and Description |
|---|---|
static void |
makeAccessible(java.lang.reflect.AccessibleObject o)
Sets the
accessible flag of the given to true. |
static void |
setAccessible(java.lang.reflect.AccessibleObject o,
boolean accessible)
Sets the
accessible flag of the given to the given boolean
value. |
static void |
setAccessibleIgnoringExceptions(java.lang.reflect.AccessibleObject o,
boolean accessible)
Sets the
accessible flag of the given to the given boolean
value, ignoring any thrown exception. |
public static void setAccessibleIgnoringExceptions(java.lang.reflect.AccessibleObject o,
boolean accessible)
accessible flag of the given AccessibleObject to the given boolean
value, ignoring any thrown exception.o - the given AccessibleObject.accessible - the value to set the accessible flag to.public static void makeAccessible(java.lang.reflect.AccessibleObject o)
accessible flag of the given AccessibleObject to true.o - the given AccessibleObject.java.lang.SecurityException - if the request is denied.public static void setAccessible(java.lang.reflect.AccessibleObject o,
boolean accessible)
accessible flag of the given AccessibleObject to the given boolean
value.o - the given AccessibleObject.accessible - the value to set the accessible flag to.java.lang.SecurityException - if the request is denied.Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.