mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
add AccessibleObject.setAccessible(AccessibleObject[],boolean)
This commit is contained in:
parent
f96fa82607
commit
9553d56977
@ -16,4 +16,8 @@ public abstract class AccessibleObject {
|
||||
public abstract boolean isAccessible();
|
||||
|
||||
public abstract void setAccessible(boolean v);
|
||||
|
||||
public static void setAccessible(AccessibleObject[] array, boolean v) {
|
||||
for (AccessibleObject o: array) o.setAccessible(v);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user