Lines Matching defs:flag
33 * Constructor objects. It provides the ability to flag a reflected
41 * <p>Setting the {@code accessible} flag in a reflected object
69 * Convenience method to set the {@code accessible} flag for an
76 * <p>A {@code SecurityException} is raised if {@code flag} is
81 * accessibility of objects is set to {@code flag} for array elements
87 * @param flag the new value for the {@code accessible} flag
93 public static void setAccessible(AccessibleObject[] array, boolean flag)
99 setAccessible0(array[i], flag);
104 * Set the {@code accessible} flag for this object to
114 * <p>A {@code SecurityException} is raised if {@code flag} is
121 * {@code java.lang.Class}, and {@code flag} is true.
123 * @param flag the new value for the {@code accessible} flag
128 public void setAccessible(boolean flag) throws SecurityException {
132 setAccessible0(this, flag);
137 private static void setAccessible0(AccessibleObject obj, boolean flag)
140 if (obj instanceof Constructor && flag == true) {
161 obj.override = flag;
165 * Get the value of the {@code accessible} flag for this object.
167 * @return the value of the object's {@code accessible} flag