public final class GetDeclaredField
extends java.lang.Object
implements java.security.PrivilegedAction<java.lang.reflect.Field>
null
if it does not exist.Modifier and Type | Method and Description |
---|---|
static GetDeclaredField |
action(java.lang.Class<?> clazz,
java.lang.String fieldName) |
static GetDeclaredField |
andMakeAccessible(java.lang.Class<?> clazz,
java.lang.String fieldName)
Before using this method, you need to check the
HibernateValidatorPermission.ACCESS_PRIVATE_MEMBERS
permission against the security manager. |
java.lang.reflect.Field |
run() |
public static GetDeclaredField action(java.lang.Class<?> clazz, java.lang.String fieldName)
public static GetDeclaredField andMakeAccessible(java.lang.Class<?> clazz, java.lang.String fieldName)
HibernateValidatorPermission.ACCESS_PRIVATE_MEMBERS
permission against the security manager.public java.lang.reflect.Field run()
run
in interface java.security.PrivilegedAction<java.lang.reflect.Field>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved