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(MethodHandles.Lookup lookup,
Class<?> clazz,
String methodName,
Class<?>... parameterTypes) |
static GetDeclaredMethodHandle |
GetDeclaredMethodHandle.andMakeAccessible(MethodHandles.Lookup lookup,
Class<?> clazz,
String methodName,
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 © 2021 JBoss by Red Hat. All rights reserved.