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