Method isAccessible()
Return type: boolean
Member of:
java.lang.reflect.AccessibleObject
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (!newMethod.isAccessible())
2
if (!newMethod.isAccessible())
3
if( method.isAccessible() == false ) {
4
boolean before = getField().isAccessible();
5
if (aMethod.getName ().startsWith ("get") && aMethod.isAccessible ()) {
6
boolean before = f.isAccessible();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.