public final class GetDeclaredMethod extends Object implements PrivilegedAction<Method>
null
if it does not exist.Modifier and Type | Method and Description |
---|---|
static GetDeclaredMethod |
action(Class<?> clazz,
String methodName,
Class<?>... parameterTypes) |
static GetDeclaredMethod |
andMakeAccessible(Class<?> clazz,
String methodName,
Class<?>... parameterTypes)
Before using this method, you need to check the
HibernateValidatorPermission.ACCESS_PRIVATE_MEMBERS
permission against the security manager. |
Method |
run() |
public static GetDeclaredMethod action(Class<?> clazz, String methodName, Class<?>... parameterTypes)
public static GetDeclaredMethod andMakeAccessible(Class<?> clazz, String methodName, Class<?>... parameterTypes)
HibernateValidatorPermission.ACCESS_PRIVATE_MEMBERS
permission against the security manager.public Method run()
run
in interface PrivilegedAction<Method>
Copyright © 2021 JBoss by Red Hat. All rights reserved.