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