Package | Description |
---|---|
org.hibernate.validator.internal.util.privilegedactions |
Implementations of PrivilegedAction in order to execute reflection operations in a security manager.
|
Modifier and Type | Method and Description |
---|---|
static GetDeclaredMethodHandle |
GetDeclaredMethodHandle.action(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>... parameterTypes) |
static GetDeclaredMethodHandle |
GetDeclaredMethodHandle.andMakeAccessible(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>... parameterTypes)
Before using this method on arbitrary classes, you need to check the
HibernateValidatorPermission.ACCESS_PRIVATE_MEMBERS
permission against the security manager, if the calling class exposes the handle to clients. |
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved