Lines Matching refs:flag
35 * Constructor objects. It provides the ability to flag a reflected
43 * <p>Setting the {@code accessible} flag in a reflected object
68 * Convenience method to set the {@code accessible} flag for an
75 * <p>A {@code SecurityException} is raised if {@code flag} is
80 * accessibility of objects is set to {@code flag} for array elements
86 * @param flag the new value for the {@code accessible} flag
92 public static void setAccessible(AccessibleObject[] array, boolean flag)
97 setAccessible0(array[i], flag);
102 * Set the {@code accessible} flag for this object to
112 * <p>A {@code SecurityException} is raised if {@code flag} is
119 * {@code java.lang.Class}, and {@code flag} is true.
121 * @param flag the new value for the {@code accessible} flag
126 public void setAccessible(boolean flag) throws SecurityException {
129 setAccessible0(this, flag);
133 private static void setAccessible0(AccessibleObject obj, boolean flag)
136 if (obj instanceof Constructor && flag == true) {
143 obj.override = flag;
147 * Get the value of the {@code accessible} flag for this object.
149 * @return the value of the object's {@code accessible} flag