|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.reflect.util.Accessibles
public final class Accessibles
Understands utility methods related to s.
AccessibleObject
| Method Summary | |
|---|---|
static void |
makeAccessible(AccessibleObject o)
Sets the accessible flag of the given to true. |
static void |
setAccessible(AccessibleObject o,
boolean accessible)
Sets the accessible flag of the given to the given
boolean value. |
static void |
setAccessibleIgnoringExceptions(AccessibleObject o,
boolean accessible)
Sets the accessible flag of the given to the given
boolean value, ignoring any thrown exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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)
accessible flag of the given AccessibleObject to true.
o - the given AccessibleObject.
SecurityException - if the request is denied.
public static void setAccessible(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.
SecurityException - if the request is denied.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||