mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +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 boolean isAccessible();
|
||||||
|
|
||||||
public abstract void setAccessible(boolean v);
|
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