62 * help in its attempt to compromise security in the system.</td>
63 * </tr>
64 *
65 * </tbody>
66 * </table>
67 *
68 * @see java.security.Permission
69 * @see java.security.BasicPermission
70 * @see AccessibleObject
71 * @see Field#get
72 * @see Field#set
73 * @see Method#invoke
74 * @see Constructor#newInstance
75 * @see Proxy#newProxyInstance
76 *
77 * @since 1.2
78 */
79 public final
80 class ReflectPermission extends java.security.BasicPermission {
81
82 private static final long serialVersionUID = 7412737110241507485L;
83
84 /**
85 * Constructs a ReflectPermission with the specified name.
86 *
87 * @param name the name of the ReflectPermission
88 *
89 * @throws NullPointerException if {@code name} is {@code null}.
90 * @throws IllegalArgumentException if {@code name} is empty.
91 */
92 public ReflectPermission(String name) {
93 super(name);
94 }
95
96 /**
97 * Constructs a ReflectPermission with the specified name and actions.
98 * The actions should be null; they are ignored.
99 *
100 * @param name the name of the ReflectPermission
101 *
|
62 * help in its attempt to compromise security in the system.</td>
63 * </tr>
64 *
65 * </tbody>
66 * </table>
67 *
68 * @see java.security.Permission
69 * @see java.security.BasicPermission
70 * @see AccessibleObject
71 * @see Field#get
72 * @see Field#set
73 * @see Method#invoke
74 * @see Constructor#newInstance
75 * @see Proxy#newProxyInstance
76 *
77 * @since 1.2
78 */
79 public final
80 class ReflectPermission extends java.security.BasicPermission {
81
82 @java.io.Serial
83 private static final long serialVersionUID = 7412737110241507485L;
84
85 /**
86 * Constructs a ReflectPermission with the specified name.
87 *
88 * @param name the name of the ReflectPermission
89 *
90 * @throws NullPointerException if {@code name} is {@code null}.
91 * @throws IllegalArgumentException if {@code name} is empty.
92 */
93 public ReflectPermission(String name) {
94 super(name);
95 }
96
97 /**
98 * Constructs a ReflectPermission with the specified name and actions.
99 * The actions should be null; they are ignored.
100 *
101 * @param name the name of the ReflectPermission
102 *
|